Skip to content

Commit 0b2a60a

Browse files
committed
windows: Prefix includes with py/; remove need for -I../py.
1 parent fe7d542 commit 0b2a60a

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

windows/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ include ../py/py.mk
1212

1313
INC = -I.
1414
INC += -I..
15-
INC += -I$(PY_SRC)
1615
INC += -I$(BUILD)
1716

1817
# compiler settings

windows/bss.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#include "mpconfig.h"
28-
#include "misc.h"
29-
#include "nlr.h"
30-
#include "qstr.h"
31-
#include "obj.h"
27+
#include "py/nlr.h"
28+
#include "py/obj.h"
3229
#include <windows.h>
3330

3431
IMAGE_NT_HEADERS *header_from_memory(const char *module) {

windows/msvc/common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99
<ItemDefinitionGroup>
1010
<ClCompile>
11-
<AdditionalIncludeDirectories>.\;..\;.\build;.\msvc;..\py</AdditionalIncludeDirectories>
11+
<AdditionalIncludeDirectories>.\;..\;.\build;.\msvc</AdditionalIncludeDirectories>
1212
<PreprocessorDefinitions>_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_MBCS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
1313
<SDLCheck>false</SDLCheck>
1414
<WarningLevel>Level1</WarningLevel>

0 commit comments

Comments
 (0)