diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2013-03-16 13:15:55 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-03-18 16:33:14 +0100 |
commit | 1b1008f319966c1d4c4a6baffe4544e839462dce (patch) | |
tree | 3d010a035184cd970e258e6557c8452ef933954f /meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h | |
parent | eaae38582829203c85f4cb49b902176987ad3df5 (diff) | |
download | meta-openembedded-1b1008f319966c1d4c4a6baffe4544e839462dce.tar.gz |
python-numpy: add i586 *config.h files
Generated using native compile on FRI2/angstrom
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h')
-rw-r--r-- | meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h b/meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h new file mode 100644 index 0000000000..ff7938cd96 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef _NPY_NUMPYCONFIG_H_ | ||
2 | #define _NPY_NUMPYCONFIG_H_ | ||
3 | |||
4 | #include "_numpyconfig.h" | ||
5 | |||
6 | /* | ||
7 | * On Mac OS X, because there is only one configuration stage for all the archs | ||
8 | * in universal builds, any macro which depends on the arch needs to be | ||
9 | * harcoded | ||
10 | */ | ||
11 | #ifdef __APPLE__ | ||
12 | #undef NPY_SIZEOF_LONG | ||
13 | #undef NPY_SIZEOF_PY_INTPTR_T | ||
14 | |||
15 | #ifdef __LP64__ | ||
16 | #define NPY_SIZEOF_LONG 8 | ||
17 | #define NPY_SIZEOF_PY_INTPTR_T 8 | ||
18 | #else | ||
19 | #define NPY_SIZEOF_LONG 4 | ||
20 | #define NPY_SIZEOF_PY_INTPTR_T 4 | ||
21 | #endif | ||
22 | #endif | ||
23 | |||
24 | #endif | ||