[Numpy-svn] r8296 - trunk/numpy/core/include/numpy

numpy-svn@scip... numpy-svn@scip...
Thu Mar 18 16:41:04 CDT 2010


Author: ptvirtan
Date: 2010-03-18 16:41:03 -0500 (Thu, 18 Mar 2010)
New Revision: 8296

Modified:
   trunk/numpy/core/include/numpy/npy_cpu.h
Log:
BUG: include numpyconfig.h in npy_cpu.h to address #1371

Modified: trunk/numpy/core/include/numpy/npy_cpu.h
===================================================================
--- trunk/numpy/core/include/numpy/npy_cpu.h	2010-03-18 15:23:08 UTC (rev 8295)
+++ trunk/numpy/core/include/numpy/npy_cpu.h	2010-03-18 21:41:03 UTC (rev 8296)
@@ -18,6 +18,8 @@
 #ifndef _NPY_CPUARCH_H_
 #define _NPY_CPUARCH_H_
 
+#include "numpyconfig.h"
+
 #if defined( __i386__ ) || defined(i386) || defined(_M_IX86)
     /*
      * __i386__ is defined by gcc and Intel compiler on Linux,
@@ -96,6 +98,9 @@
             ((char*)(dst))[5] = ((char*)(src))[5]; \
             ((char*)(dst))[6] = ((char*)(src))[6]; \
             ((char*)(dst))[7] = ((char*)(src))[7];
+    #else
+        #error Unknown architecture, please report this to numpy maintainers with \
+        information about your platform (OS, CPU and compiler)
     #endif
 #endif
 



More information about the Numpy-svn mailing list