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 a29a7b9 commit a49192aCopy full SHA for a49192a
PC/pyconfig.h
@@ -209,6 +209,24 @@ typedef int pid_t;
209
210
#endif /* _MSC_VER */
211
212
+/* ------------------------------------------------------------------------*/
213
+/* mingw and mingw-w64 define __MINGW32__ */
214
+#ifdef __MINGW32__
215
+
216
+#if !defined(MS_WIN64) && defined(_WIN64)
217
+#define MS_WIN64
218
+#endif
219
220
+#if !defined(MS_WIN32) && defined(_WIN32)
221
+#define MS_WIN32
222
223
224
+#if !defined(MS_WINDOWS) && defined(MS_WIN32)
225
+#define MS_WINDOWS
226
227
228
+#endif /* __MINGW32__*/
229
230
/* ------------------------------------------------------------------------*/
231
/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
232
#if defined(__GNUC__) && defined(_WIN32)
0 commit comments