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.
1 parent 8d9357e commit bf6e785Copy full SHA for bf6e785
src/mplutils.h
@@ -18,6 +18,16 @@ typedef unsigned __int8 uint8_t;
18
# undef _XOPEN_SOURCE
19
#endif
20
21
+// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
22
+#if defined(__sun) || defined(sun)
23
+#if defined(_XPG4)
24
+#undef _XPG4
25
+#endif
26
+#if defined(_XPG3)
27
+#undef _XPG3
28
29
30
+
31
#include <Python.h>
32
33
#if PY_MAJOR_VERSION >= 3
src/numpy_cpp.h
@@ -25,6 +25,16 @@
34
35
36
37
38
39
#include <numpy/ndarrayobject.h>
40
0 commit comments