projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e31948c
)
(Visual Studio) Don't use C99 complex numbers when building C++ code.
author
Ray Glover
<Ray@NAUSICA>
Tue, 17 Nov 2015 17:29:30 +0000
(17:29 +0000)
committer
Ray Glover
<Ray@NAUSICA>
Tue, 17 Nov 2015 17:29:30 +0000
(17:29 +0000)
openblas_config_template.h
patch
|
blob
|
history
diff --git
a/openblas_config_template.h
b/openblas_config_template.h
index
942a8f5
..
b2a68c2
100644
(file)
--- a/
openblas_config_template.h
+++ b/
openblas_config_template.h
@@
-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>