From e50a664865b81a0533f9e879a00d75ce7ce00106 Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Fri, 17 May 2013 16:41:05 +0800 Subject: [PATCH] Refs #215. Fixed the compatible between and in C++. --- openblas_config_template.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openblas_config_template.h b/openblas_config_template.h index cf2c037cc..ccf7bac87 100644 --- a/openblas_config_template.h +++ b/openblas_config_template.h @@ -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 +#endif typedef float _Complex openblas_complex_float; typedef double _Complex openblas_complex_double; typedef xdouble _Complex openblas_complex_xdouble;