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:
88ef307
)
Fixed #217 openblas_config.h bug on Windows 64.
author
Zhang Xianyi
<traits.zhang@gmail.com>
Sun, 30 Jun 2013 16:35:14 +0000
(
00:35
+0800)
committer
Zhang Xianyi
<traits.zhang@gmail.com>
Sun, 30 Jun 2013 16:35:14 +0000
(
00:35
+0800)
openblas_config_template.h
patch
|
blob
|
history
diff --git
a/openblas_config_template.h
b/openblas_config_template.h
index
ccf7bac
..
1017caf
100644
(file)
--- a/
openblas_config_template.h
+++ b/
openblas_config_template.h
@@
-1,5
+1,15
@@
/*This is only for "make install" target.*/
+#if defined(OS_WINNT) || defined(OS_CYGWIN_NT) || defined(OS_INTERIX)
+#define WINDOWS_ABI
+#define OS_WINDOWS
+
+#ifdef DOUBLE
+#define DOUBLE_DEFINED DOUBLE
+#undef DOUBLE
+#endif
+#endif
+
#ifdef NEEDBUNDERSCORE
#define BLASFUNC(FUNC) FUNC##_
#else