| @@ -70,7 +70,11 @@ | |||||
| /* Complex type (single precision) */ | /* Complex type (single precision) */ | ||||
| #ifndef lapack_complex_float | #ifndef lapack_complex_float | ||||
| #ifndef __cplusplus | |||||
| #include <complex.h> | #include <complex.h> | ||||
| #else | |||||
| #include <complex> | |||||
| #endif | |||||
| #define lapack_complex_float float _Complex | #define lapack_complex_float float _Complex | ||||
| #endif | #endif | ||||
| @@ -86,7 +90,11 @@ lapack_complex_float lapack_make_complex_float( float re, float im ); | |||||
| /* Complex type (double precision) */ | /* Complex type (double precision) */ | ||||
| #ifndef lapack_complex_double | #ifndef lapack_complex_double | ||||
| #ifndef __cplusplus | |||||
| #include <complex.h> | #include <complex.h> | ||||
| #else | |||||
| #include <complex> | |||||
| #endif | |||||
| #define lapack_complex_double double _Complex | #define lapack_complex_double double _Complex | ||||
| #endif | #endif | ||||