We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf37e4 commit 43133b5Copy full SHA for 43133b5
Include/pyport.h
@@ -26,6 +26,21 @@
26
#endif
27
28
29
+#ifdef __MINGW32__
30
+/* Translate GCC[mingw*] platform specific defines to those
31
+ * used in python code.
32
+ */
33
+#if !defined(MS_WIN64) && defined(_WIN64)
34
+# define MS_WIN64
35
+#endif
36
+#if !defined(MS_WIN32) && defined(_WIN32)
37
+# define MS_WIN32
38
39
+#if !defined(MS_WINDOWS) && defined(MS_WIN32)
40
+# define MS_WINDOWS
41
42
+#endif /* __MINGW32__*/
43
+
44
/**************************************************************************
45
Symbols and macros to supply platform-independent interfaces to basic
46
C language & library operations whose spellings vary across platforms.
0 commit comments