[Scipy-svn] r2153 - trunk/Lib/special/cephes

scipy-svn at scipy.org scipy-svn at scipy.org
Wed Aug 9 16:53:24 EDT 2006


Author: cookedm
Date: 2006-08-09 15:53:22 -0500 (Wed, 09 Aug 2006)
New Revision: 2153

Modified:
   trunk/Lib/special/cephes/mconf.h
Log:
Fix #12: Lib\special\cephes\const.c doesn't compile with Visual Studio

Modified: trunk/Lib/special/cephes/mconf.h
===================================================================
--- trunk/Lib/special/cephes/mconf.h	2006-08-09 09:47:04 UTC (rev 2152)
+++ trunk/Lib/special/cephes/mconf.h	2006-08-09 20:53:22 UTC (rev 2153)
@@ -106,11 +106,16 @@
     defined(__decvax__) || defined(pro350) || defined(pdp11)
 #define DEC 1  
 
-#elif defined(ns32000) || defined(sun386) || \
-    defined(i386) || defined(MIPSEL) || defined(_MIPSEL) || \
-    defined(BIT_ZERO_ON_RIGHT) || defined(__alpha__) || defined(__alpha) || \
-    defined(sequent) || defined(i386) || \
-    defined(__ns32000__) || defined(__sun386__) || defined(__i386__)
+#elif defined(ns32000) || defined(__ns32000__) || \
+    defined(sun386) || defined(__sun386__) || \
+    defined(__i386__) || defined(i386) || \
+    defined(_M_IX86) || defined(_X86_) || defined(__THW_INTEL__) || \
+    defined(__I86__) || defined(__INTEL__) || \
+    defined(__amd64__) || defined(__ia64__) || defined(_M_IA64) || \
+    defined(MIPSEL) || defined(_MIPSEL) || \
+    defined(BIT_ZERO_ON_RIGHT) || \
+    defined(__alpha__) || defined(__alpha) || \
+    defined(sequent)
 #define IBMPC 1   /* Intel IEEE, low order words come first */
 #define BIGENDIAN 0
 




More information about the Scipy-svn mailing list