Skip to content

Commit

Permalink
pythongh-113039: Avoid using leading dots in the include path for fro…
Browse files Browse the repository at this point in the history
…zen getpath.py (pythonGH-113022)
  • Loading branch information
itamaro authored and Glyphack committed Jan 27, 2024
1 parent c03bb65 commit 4566f62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/getpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#endif

/* Reference the precompiled getpath.py */
#include "../Python/frozen_modules/getpath.h"
#include "Python/frozen_modules/getpath.h"

#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 4566f62

Please sign in to comment.