8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d310ff9 + 0ddb8e3 commit ddb5e79Copy full SHA for ddb5e79
numpy/core/include/numpy/npy_common.h
@@ -264,18 +264,9 @@ typedef unsigned PY_LONG_LONG npy_ulonglong;
264
# ifdef _MSC_VER
265
# define NPY_LONGLONG_FMT "I64d"
266
# define NPY_ULONGLONG_FMT "I64u"
267
-# elif defined(__APPLE__) || defined(__FreeBSD__)
268
-/* "%Ld" only parses 4 bytes -- "L" is floating modifier on MacOS X/BSD */
+# else
269
# define NPY_LONGLONG_FMT "lld"
270
# define NPY_ULONGLONG_FMT "llu"
271
-/*
272
- another possible variant -- *quad_t works on *BSD, but is deprecated:
273
- #define LONGLONG_FMT "qd"
274
- #define ULONGLONG_FMT "qu"
275
-*/
276
-# else
277
-# define NPY_LONGLONG_FMT "Ld"
278
-# define NPY_ULONGLONG_FMT "Lu"
279
# endif
280
281
# define NPY_LONGLONG_SUFFIX(x) (x##i64)
0 commit comments