Ticket #64019: patch-numpy_core_include_numpy_numpyconfig.h.diff
File patch-numpy_core_include_numpy_numpyconfig.h.diff, 901 bytes (added by ballapete (Peter "Pete" Dyballa), 3 years ago) |
---|
-
numpy/core/include/numpy/numpyconfig.
old new 23 23 #undef NPY_SIZEOF_LONGDOUBLE 24 24 #undef NPY_SIZEOF_COMPLEX_LONGDOUBLE 25 25 26 #ifdef __x86_64 27 #define NPY_SIZEOF_LONGDOUBLE 16 28 #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32 29 #elif defined(__arm64__) 26 #if defined(__arm64__) 30 27 #define NPY_SIZEOF_LONGDOUBLE 8 31 28 #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 16 29 #elif defined (__i386) 30 #define NPY_SIZEOF_LONGDOUBLE 12 31 #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 24 32 #elif defined(__x86_64) || defined(__ppc__) || defined (__ppc64__) 33 #define NPY_SIZEOF_LONGDOUBLE 16 34 #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32 32 35 #else 33 36 #error "unknown architecture" 34 37 #endif