Browse Source

Restored LAPACK_COMPLEX_STRUCTURE for Android prior to 21. Refs #682.

tags/v0.2.16.rc1
buffer51 10 years ago
parent
commit
855e0cb700
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      lapack-netlib/LAPACKE/include/lapacke_config.h

+ 7
- 0
lapack-netlib/LAPACKE/include/lapacke_config.h View File

@@ -34,6 +34,13 @@
#ifndef _LAPACKE_CONFIG_H_
#define _LAPACKE_CONFIG_H_

// For Android prior to API 21 (no <complex> include)
#if defined(__ANDROID__)
#if __ANDROID_API__ < 21
#define LAPACK_COMPLEX_STRUCTURE
#endif
#endif

#ifdef __cplusplus
#if defined(LAPACK_COMPLEX_CPP)
#include <complex>


Loading…
Cancel
Save