summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Pavlov <alexey.pawlow@gmail.com>2015-06-14 23:46:46 +0200
committerIgnacio Casal Quinteiro <icq@gnome.org>2016-01-13 11:33:44 +0100
commit97387ca2675199c22441e01a7292b3bf7e9d9301 (patch)
tree742ae1406269db5859800499633252612961f5c8
parent368fc90e1020ac65a26d65df731be893f4c6e9dd (diff)
downloadgobject-introspection-97387ca2675199c22441e01a7292b3bf7e9d9301.tar.gz
MingGW Builds: Don't load msvcrt for MinGW64
https://bugzilla.gnome.org/show_bug.cgi?id=733535
-rw-r--r--giscanner/giscannermodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/giscannermodule.c b/giscanner/giscannermodule.c
index b3dd2f85..cd0718e4 100644
--- a/giscanner/giscannermodule.c
+++ b/giscanner/giscannermodule.c
@@ -485,7 +485,7 @@ pygi_source_scanner_parse_file (PyGISourceScanner *self,
#endif
#endif
-#ifndef MSVC_USE_FD_DIRECTLY
+#if !defined(MSVC_USE_FD_DIRECTLY) && !defined(__MINGW64_VERSION_MAJOR)
{
#if defined(PY_MAJOR_VERSION) && PY_MAJOR_VERSION==2 && PY_MINOR_VERSION==5
#define PYTHON_MSVCRXX_DLL "msvcr71.dll"