(Visual Studio) Don't use C99 complex numbers when building C++ code.

This commit is contained in:
Ray Glover 2015-11-17 17:29:30 +00:00
parent e31948ceb0
commit a9d7eee0dc
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ typedef int blasint;
structure as fallback (see Clause 6.2.5.13 of the C99 standard). */
#if (defined(__STDC_IEC_559_COMPLEX__) || __STDC_VERSION__ >= 199901L || \
(__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
#ifndef __cplusplus
#include <complex.h>