We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0624664 commit d862c47Copy full SHA for d862c47
src/_path_wrapper.cpp
@@ -1,3 +1,5 @@
1
+#include "numpy_cpp.h"
2
+
3
#include "_path.h"
4
5
#include "py_converters.h"
src/_png.cpp
@@ -12,6 +12,11 @@
12
13
#include <vector>
14
15
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
@@ -28,10 +33,8 @@
28
33
29
34
30
35
#endif
36
+}
31
37
32
-#include "file_compat.h"
-#include "numpy_cpp.h"
-#include "mplutils.h"
38
39
// As reported in [3082058] build _png.so on aix
40
#ifdef _AIX
src/mplutils.h
@@ -5,7 +5,7 @@
#ifndef _MPLUTILS_H
6
#define _MPLUTILS_H
7
8
-#ifdef _MSC_VER && _MSC_VER <= 1600
+#if defined(_MSC_VER) && _MSC_VER <= 1600
9
typedef unsigned __int8 uint8_t;
10
#else
11
#include <stdint.h>
0 commit comments