Refs #215. Fixed the compatible between <complex.h> and <complex> in C++.

This commit is contained in:
Zhang Xianyi 2013-05-17 16:41:05 +08:00
parent 357078b93e
commit e50a664865
1 changed files with 2 additions and 0 deletions

View File

@ -51,7 +51,9 @@ typedef int blasint;
#if (defined(__STDC_IEC_559_COMPLEX__) || __STDC_VERSION__ >= 199901L || \
(__GNUC__ >= 3 && !defined(__cplusplus)))
#define OPENBLAS_COMPLEX_C99
#ifndef __cplusplus
#include <complex.h>
#endif
typedef float _Complex openblas_complex_float;
typedef double _Complex openblas_complex_double;
typedef xdouble _Complex openblas_complex_xdouble;