[geos-commits] r4075 - trunk/src

svn_geos at osgeo.org svn_geos at osgeo.org
Tue Aug 11 16:27:29 PDT 2015


Author: robe
Date: 2015-08-11 16:27:29 -0700 (Tue, 11 Aug 2015)
New Revision: 4075

Modified:
   trunk/src/inlines.cpp
Log:
#736 3.5.0-dev compilation errors on MinGW

Modified: trunk/src/inlines.cpp
===================================================================
--- trunk/src/inlines.cpp	2015-08-06 15:40:35 UTC (rev 4074)
+++ trunk/src/inlines.cpp	2015-08-11 23:27:29 UTC (rev 4075)
@@ -28,7 +28,7 @@
 // has already generated the stubs for the contents of this file. 
 // Hence we need to supress it to avoid "multiple definition" errors
 // during the final link phase
-#if !defined(_MSC_VER) && (!defined(__MINGW32__) || defined(__MINGW32__) && !defined(GEOS_DLL_EXPORT))
+#if !defined(_MSC_VER) && !defined(__MINGW64_VERSION_MAJOR) && (!defined(__MINGW32__) || defined(__MINGW32__) && !defined(GEOS_DLL_EXPORT))
 
 // If using cygwin then we suppress the "multiple definition" errors by
 // ignoring this section completely; the cygwin linker seems to handle



More information about the geos-commits mailing list