Browse Source

Refs #682. Enable LAPACK_COMPLEX_STRUCTURE when __ANDROID_API_ < 21.

tags/v0.2.16.rc1
Zhang Xianyi 10 years ago
parent
commit
a550431ee6
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
#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