[Numpy-svn] r3678 - in trunk/numpy: core/include/numpy numarray

numpy-svn@scip... numpy-svn@scip...
Fri Apr 6 15:19:51 CDT 2007


Author: oliphant
Date: 2007-04-06 15:19:47 -0500 (Fri, 06 Apr 2007)
New Revision: 3678

Modified:
   trunk/numpy/core/include/numpy/ufuncobject.h
   trunk/numpy/numarray/_capi.c
Log:
Change defined(linux) to defined(__GLIBC__)

Modified: trunk/numpy/core/include/numpy/ufuncobject.h
===================================================================
--- trunk/numpy/core/include/numpy/ufuncobject.h	2007-04-06 19:45:03 UTC (rev 3677)
+++ trunk/numpy/core/include/numpy/ufuncobject.h	2007-04-06 20:19:47 UTC (rev 3678)
@@ -276,7 +276,7 @@
 	(void) fpsetsticky(0);						\
 	}
 
-#elif defined(linux) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
+#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
 
 #if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
 #include <fenv.h>

Modified: trunk/numpy/numarray/_capi.c
===================================================================
--- trunk/numpy/numarray/_capi.c	2007-04-06 19:45:03 UTC (rev 3677)
+++ trunk/numpy/numarray/_capi.c	2007-04-06 20:19:47 UTC (rev 3678)
@@ -224,7 +224,7 @@
 }
 
 /* Likewise for Integer overflows */
-#if defined(linux) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
+#if defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
 #if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
 #include <fenv.h>
 #elif defined(__CYGWIN__)
@@ -2937,7 +2937,7 @@
 	return retstatus;
 }
 
-#elif defined(linux) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
+#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
 #if defined(__GLIBC__) || defined(darwin) || defined(__MINGW32__)
 #include <fenv.h>
 #elif defined(__CYGWIN__)



More information about the Numpy-svn mailing list