(Visual Studio) Don't use C99 complex numbers when building C++ code.
This commit is contained in:
parent
e31948ceb0
commit
a9d7eee0dc
|
@ -60,7 +60,7 @@ typedef int blasint;
|
||||||
structure as fallback (see Clause 6.2.5.13 of the C99 standard). */
|
structure as fallback (see Clause 6.2.5.13 of the C99 standard). */
|
||||||
#if (defined(__STDC_IEC_559_COMPLEX__) || __STDC_VERSION__ >= 199901L || \
|
#if (defined(__STDC_IEC_559_COMPLEX__) || __STDC_VERSION__ >= 199901L || \
|
||||||
(__GNUC__ >= 3 && !defined(__cplusplus)) || \
|
(__GNUC__ >= 3 && !defined(__cplusplus)) || \
|
||||||
_MSC_VER >= 1800) // Visual Studio 2013 supports complex
|
(_MSC_VER >= 1800 && !defined(__cplusplus))) // Visual Studio 2013 supports complex
|
||||||
#define OPENBLAS_COMPLEX_C99
|
#define OPENBLAS_COMPLEX_C99
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
#include <complex.h>
|
#include <complex.h>
|
||||||
|
|
Loading…
Reference in New Issue