[geos-commits] r3971 - trunk/src

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Feb 10 04:49:25 PST 2014


Author: mloskot
Date: 2014-02-10 04:49:25 -0800 (Mon, 10 Feb 2014)
New Revision: 3971

Modified:
   trunk/src/inlines.cpp
Log:
Replace use of non-existent DLL_EXPORT with GEOS_DLL_EXPORT (Ticket #681)

Modified: trunk/src/inlines.cpp
===================================================================
--- trunk/src/inlines.cpp	2013-12-17 18:18:12 UTC (rev 3970)
+++ trunk/src/inlines.cpp	2014-02-10 12:49:25 UTC (rev 3971)
@@ -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(DLL_EXPORT))
+#if !defined(_MSC_VER) && (!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
@@ -60,6 +60,6 @@
 #include <geos/noding/MCIndexNoder.inl>
 
 #endif // defined __CYGWIN__
-#endif // defined __MINGW32__ and !defined DLL_EXPORT
+#endif // defined __MINGW32__ and !defined GEOS_DLL_EXPORT
 
 #endif // defined GEOS_INLINE



More information about the geos-commits mailing list