Commit 302aca2
committed
BUG: Import Python.h before stdlib headers
Python.h defines several visibility macros, which only work if defined before any stdlib header is included.
This is needed for things like pybind11's strdup to get declared.1 parent 6091437 commit 302aca2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments