diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-03-18 21:41:03 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-03-18 21:41:03 +0000 |
commit | 070619b16e4620e7d47a5955c27328e6dd3ec9a1 (patch) | |
tree | 9f60fa93c362f48449cbad56b0d636c197c30814 /numpy | |
parent | 3b63fc8d14f11bc80280a1b7e31e15d8d435aeb3 (diff) | |
download | numpy-070619b16e4620e7d47a5955c27328e6dd3ec9a1.tar.gz |
BUG: include numpyconfig.h in npy_cpu.h to address #1371
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/include/numpy/npy_cpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h index e94cf5962..8a2978806 100644 --- a/numpy/core/include/numpy/npy_cpu.h +++ b/numpy/core/include/numpy/npy_cpu.h @@ -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 |