Restore Android/ARMv7 build fix from #778

for #1811
This commit is contained in:
Martin Kroeker
2018-11-01 18:50:25 +01:00
committed by GitHub
parent 76a66eaac8
commit 9c177d270b

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>