mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

This is done so that patches can be shared with python3-numpy (From OE-Core rev: 9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
508 B
C
25 lines
508 B
C
#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
|