summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python/python-numpy/i586/numpyconfig.h
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-06-04 12:24:46 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-08 17:32:45 +0100
commit9206887e7e3c1763438ea2abe2da807d2a61d59a (patch)
tree4999866553d510f856168acc81b60b00098a2c37 /meta/recipes-devtools/python/python-numpy/i586/numpyconfig.h
parent2804df294fbe5a820dddf6c0343ae373c9f6bc95 (diff)
downloadopenembedded-core-9206887e7e3c1763438ea2abe2da807d2a61d59a.tar.gz
openembedded-core-9206887e7e3c1763438ea2abe2da807d2a61d59a.tar.bz2
openembedded-core-9206887e7e3c1763438ea2abe2da807d2a61d59a.zip
python-numpy: use x86 over-ride instead of i586
Support i686 without needing to duplicate the i586 over-ride. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-numpy/i586/numpyconfig.h')
-rw-r--r--meta/recipes-devtools/python/python-numpy/i586/numpyconfig.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-devtools/python/python-numpy/i586/numpyconfig.h b/meta/recipes-devtools/python/python-numpy/i586/numpyconfig.h
deleted file mode 100644
index ff7938cd96..0000000000
--- a/meta/recipes-devtools/python/python-numpy/i586/numpyconfig.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef _NPY_NUMPYCONFIG_H_
-#define _NPY_NUMPYCONFIG_H_
-
-#include "_numpyconfig.h"
-
-/*
- * On Mac OS X, because there is only one configuration stage for all the archs
- * in universal builds, any macro which depends on the arch needs to be
- * harcoded
- */
-#ifdef __APPLE__
- #undef NPY_SIZEOF_LONG
- #undef NPY_SIZEOF_PY_INTPTR_T
-
- #ifdef __LP64__
- #define NPY_SIZEOF_LONG 8
- #define NPY_SIZEOF_PY_INTPTR_T 8
- #else
- #define NPY_SIZEOF_LONG 4
- #define NPY_SIZEOF_PY_INTPTR_T 4
- #endif
-#endif
-
-#endif