[gobject-introspection] MingGW Builds: Don't load msvcrt for MinGW64



commit 97387ca2675199c22441e01a7292b3bf7e9d9301
Author: Alexey Pavlov <alexey pawlow gmail com>
Date:   Sun Jun 14 23:46:46 2015 +0200

    MingGW Builds: Don't load msvcrt for MinGW64
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733535

 giscanner/giscannermodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/giscannermodule.c b/giscanner/giscannermodule.c
index b3dd2f8..cd0718e 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]