[geos-commits] r2216 - branches/3.0/source

svn_geos at osgeo.org svn_geos at osgeo.org
Tue Oct 28 11:44:20 EDT 2008


Author: pramsey
Date: 2008-10-28 11:44:20 -0400 (Tue, 28 Oct 2008)
New Revision: 2216

Modified:
   branches/3.0/source/inlines.cpp
Log:
Cygwin/Mingw patch from Mark Cave-Ayland


Modified: branches/3.0/source/inlines.cpp
===================================================================
--- branches/3.0/source/inlines.cpp	2008-10-28 15:41:26 UTC (rev 2215)
+++ branches/3.0/source/inlines.cpp	2008-10-28 15:44:20 UTC (rev 2216)
@@ -23,11 +23,11 @@
 // Otherwise we'll end up with duplicated symbols
 #ifdef GEOS_INLINE
 
-// If using MingW with GEOS_INLINE to build a DLL then MingW's gcc
+// If using MingW or Cygwin with GEOS_INLINE to build a DLL then Win32 gcc
 // 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(__MINGW32__) || defined(__MINGW32__) && !defined(DLL_EXPORT)
+#if !(defined(__GNUC__) && defined(_WIN32)) || defined(__GNUC__) && defined(_WIN32) && !defined(DLL_EXPORT)
 
 
 // Undefine GEOS_INLINE so that .inl files



More information about the geos-commits mailing list