Browse Source

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

tags/v0.2.7
Zhang Xianyi 12 years ago
parent
commit
e50a664865
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      openblas_config_template.h

+ 2
- 0
openblas_config_template.h 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;


Loading…
Cancel
Save