Skip to content

Commit

Permalink
Use abs include path on Windows too
Browse files Browse the repository at this point in the history
  • Loading branch information
itamaro committed Dec 17, 2023
1 parent 8100efb commit 1d5d68f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions Modules/getpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
#endif

/* Reference the precompiled getpath.py */
#ifdef MS_WINDOWS
#include "../Python/frozen_modules/getpath.h"
#else
#include "Python/frozen_modules/getpath.h"
#endif

#if (!defined(PREFIX) || !defined(EXEC_PREFIX) \
|| !defined(VERSION) || !defined(VPATH) \
Expand Down
1 change: 1 addition & 0 deletions PCbuild/pythoncore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
PLATLIBDIR="DLLs";
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(PySourcePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 1d5d68f

Please sign in to comment.