Blob Blame History Raw
diff -rupN --no-dereference Python-3.10.0rc1/Modules/_stat.c Python-3.10.0rc1-new/Modules/_stat.c
--- Python-3.10.0rc1/Modules/_stat.c	2021-08-02 21:53:59.000000000 +0200
+++ Python-3.10.0rc1-new/Modules/_stat.c	2021-08-04 16:36:59.412357289 +0200
@@ -600,11 +600,13 @@ stat_exec(PyObject *module)
                            PyLong_FromUnsignedLong(IO_REPARSE_TAG_MOUNT_POINT)) < 0) {
             return -1;
     }
+#if !defined(__MINGW32__)
     if (PyModule_AddObject(module, "IO_REPARSE_TAG_APPEXECLINK",
                            PyLong_FromUnsignedLong(IO_REPARSE_TAG_APPEXECLINK)) < 0) {
             return -1;
     }
 #endif
+#endif
 
     return 0;
 }