Merge pull request #1999 from martin-frbg/issue1996-2

fix second instance of complex.h for c++ as well
This commit is contained in:
Martin Kroeker 2019-02-05 22:02:11 +01:00 committed by GitHub
commit f10408aae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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