Skip to content

Commit f10408a

Browse files
authored
Merge pull request #1999 from martin-frbg/issue1996-2
fix second instance of complex.h for c++ as well
2 parents 817fe98 + 1391fc4 commit f10408a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lapack-netlib/LAPACKE/include/lapacke.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@
7070

7171
/* Complex type (single precision) */
7272
#ifndef lapack_complex_float
73+
#ifndef __cplusplus
7374
#include <complex.h>
75+
#else
76+
#include <complex>
77+
#endif
7478
#define lapack_complex_float float _Complex
7579
#endif
7680

0 commit comments

Comments
 (0)