Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Unified Diff: Modules/_freeze_importlib.c

Issue 3871: cross and native build of python for mingw32 with distutils
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Modules/faulthandler.c ('k') | Modules/getaddrinfo.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Modules/_freeze_importlib.c Thu Dec 27 23:52:36 2012 +0200
+++ b/Modules/_freeze_importlib.c Thu Dec 27 17:35:12 2012 -0500
@@ -21,8 +21,8 @@
{0, 0, 0} /* sentinel */
};
-#ifndef MS_WINDOWS
-/* On Windows, this links with the regular pythonXY.dll, so this variable comes
+#ifndef _MSC_VER
+/* On MSVC, this links with the regular pythonXY.dll, so this variable comes
from frozen.obj. In the Makefile, frozen.o is not linked into this executable,
so we define the variable here. */
struct _frozen *PyImport_FrozenModules;
« no previous file with comments | « Modules/faulthandler.c ('k') | Modules/getaddrinfo.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+