Refs #682. Enable LAPACK_COMPLEX_STRUCTURE when __ANDROID_API_ < 21.

This commit is contained in:
Zhang Xianyi 2015-11-06 23:46:20 -06:00
parent 839395fc25
commit a550431ee6
1 changed files with 7 additions and 0 deletions

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>