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.
1 parent 4aa6b7e commit 5749338Copy full SHA for 5749338
src/_png.cpp
@@ -10,30 +10,22 @@
10
of harmless warnings.
11
*/
12
13
-#include <vector>
14
15
#include "numpy_cpp.h"
16
#include "mplutils.h"
17
#include "file_compat.h"
18
19
extern "C" {
20
-#ifdef __linux__
21
# include <png.h>
22
# ifdef _POSIX_C_SOURCE
23
# undef _POSIX_C_SOURCE
24
# endif
25
# ifdef _XOPEN_SOURCE
26
# undef _XOPEN_SOURCE
27
28
-# include "Python.h"
29
-#else
30
-
31
-/* Python API mandates Python.h is included *first* */
32
33
34
-# include <png.h>
35
-#endif
36
}
+# include <vector>
+# include "Python.h"
37
38
39
// As reported in [3082058] build _png.so on aix
0 commit comments