Skip to content

Commit 6610354

Browse files
authored
Merge pull request #1850 from martin-frbg/issue1811
Restore Android/ARMv7 build fix from #778
2 parents aa7e47a + 9c177d2 commit 6610354

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lapack-netlib/LAPACKE/include/lapacke_config.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@
3434
#ifndef _LAPACKE_CONFIG_H_
3535
#define _LAPACKE_CONFIG_H_
3636

37+
// For Android prior to API 21 (no <complex> include)
38+
#if defined(__ANDROID__)
39+
#if __ANDROID_API__ < 21
40+
#define LAPACK_COMPLEX_STRUCTURE
41+
#endif
42+
#endif
43+
3744
#ifdef __cplusplus
3845
#if defined(LAPACK_COMPLEX_CPP)
3946
#include <complex>

0 commit comments

Comments
 (0)