[geos-commits] r4146 - trunk/tests/unit/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Wed Feb 17 03:40:35 PST 2016


Author: mloskot
Date: 2016-02-17 03:40:35 -0800 (Wed, 17 Feb 2016)
New Revision: 4146

Modified:
   trunk/tests/unit/capi/GEOSGeom_createCollection.cpp
Log:
#include <array> only if C++0x is available (refines r4145)

Modified: trunk/tests/unit/capi/GEOSGeom_createCollection.cpp
===================================================================
--- trunk/tests/unit/capi/GEOSGeom_createCollection.cpp	2016-02-17 11:15:50 UTC (rev 4145)
+++ trunk/tests/unit/capi/GEOSGeom_createCollection.cpp	2016-02-17 11:40:35 UTC (rev 4146)
@@ -5,7 +5,9 @@
 // geos
 #include <geos_c.h>
 // std
+#if (defined(_MSC_VER) && _MSC_VER >= 1600) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
 #include <array>
+#endif
 #include <cstdarg>
 #include <cstdio>
 #include <cstdlib>



More information about the geos-commits mailing list