mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 09:46:38 +01:00
Fix do_compile failure for libn32. To reproduce, use the following config. MACHINE = "qemumips64" require conf/multilib.conf MULTILIB_GLOBAL_VARIANTS_append = " libn32" MULTILIBS ?= "multilib:lib32 multilib:libn32" DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips" DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32" The error message is as following. numpy/core/include/numpy/npy_common.h:206:10: error: #error Unsupported size for type off_t (From OE-Core rev: b659b6dcb6be203e8c7bc678c902d4a31ce9fe70) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1013 B
C
33 lines
1013 B
C
#define NPY_HAVE_ENDIAN_H 1
|
|
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
|
|
#define NPY_SIZEOF_INT SIZEOF_INT
|
|
#define NPY_SIZEOF_LONG SIZEOF_LONG
|
|
#define NPY_SIZEOF_FLOAT 4
|
|
#define NPY_SIZEOF_COMPLEX_FLOAT 8
|
|
#define NPY_SIZEOF_DOUBLE 8
|
|
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
|
|
#define NPY_SIZEOF_LONGDOUBLE 16
|
|
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
|
|
#define NPY_ENABLE_SEPARATE_COMPILATION 1
|
|
#define NPY_SIZEOF_PY_INTPTR_T 8
|
|
#define NPY_SIZEOF_PY_LONG_LONG 8
|
|
#define NPY_SIZEOF_LONGLONG 8
|
|
#define NPY_SIZEOF_OFF_T 8
|
|
#define NPY_NO_SMP 0
|
|
#define NPY_HAVE_DECL_ISNAN
|
|
#define NPY_HAVE_DECL_ISINF
|
|
#define NPY_HAVE_DECL_ISFINITE
|
|
#define NPY_HAVE_DECL_SIGNBIT
|
|
#define NPY_USE_C99_COMPLEX 1
|
|
#define NPY_HAVE_COMPLEX_DOUBLE 1
|
|
#define NPY_HAVE_COMPLEX_FLOAT 1
|
|
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
|
|
#define NPY_USE_C99_FORMATS 1
|
|
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
|
#define NPY_ABI_VERSION 0x01000009
|
|
#define NPY_API_VERSION 0x0000000A
|
|
|
|
#ifndef __STDC_FORMAT_MACROS
|
|
#define __STDC_FORMAT_MACROS 1
|
|
#endif
|