[geos-commits] r4064 - in trunk/src: algorithm io operation/buffer
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Jul 28 14:08:47 PDT 2015
Author: mloskot
Date: 2015-07-28 14:08:47 -0700 (Tue, 28 Jul 2015)
New Revision: 4064
Modified:
trunk/src/algorithm/LineIntersector.cpp
trunk/src/io/WKTWriter.cpp
trunk/src/operation/buffer/BufferOp.cpp
trunk/src/operation/buffer/OffsetCurveSetBuilder.cpp
Log:
Include <geos/platform.h> which defines NOMINMAX on Windows/VC++.
Closes ticket #701.
Modified: trunk/src/algorithm/LineIntersector.cpp
===================================================================
--- trunk/src/algorithm/LineIntersector.cpp 2015-07-28 20:59:53 UTC (rev 4063)
+++ trunk/src/algorithm/LineIntersector.cpp 2015-07-28 21:08:47 UTC (rev 4064)
@@ -17,6 +17,7 @@
*
**********************************************************************/
+#include <geos/platform.h>
#include <geos/algorithm/LineIntersector.h>
#include <geos/algorithm/CGAlgorithms.h>
#include <geos/algorithm/HCoordinate.h>
Modified: trunk/src/io/WKTWriter.cpp
===================================================================
--- trunk/src/io/WKTWriter.cpp 2015-07-28 20:59:53 UTC (rev 4063)
+++ trunk/src/io/WKTWriter.cpp 2015-07-28 21:08:47 UTC (rev 4064)
@@ -18,6 +18,7 @@
*
**********************************************************************/
+#include <geos/platform.h>
#include <geos/io/WKTWriter.h>
#include <geos/io/Writer.h>
#include <geos/io/CLocalizer.h>
Modified: trunk/src/operation/buffer/BufferOp.cpp
===================================================================
--- trunk/src/operation/buffer/BufferOp.cpp 2015-07-28 20:59:53 UTC (rev 4063)
+++ trunk/src/operation/buffer/BufferOp.cpp 2015-07-28 21:08:47 UTC (rev 4064)
@@ -21,6 +21,7 @@
#include <algorithm>
#include <cmath>
+#include <geos/platform.h>
#include <geos/profiler.h>
#include <geos/precision/GeometryPrecisionReducer.h>
#include <geos/operation/buffer/BufferOp.h>
Modified: trunk/src/operation/buffer/OffsetCurveSetBuilder.cpp
===================================================================
--- trunk/src/operation/buffer/OffsetCurveSetBuilder.cpp 2015-07-28 20:59:53 UTC (rev 4063)
+++ trunk/src/operation/buffer/OffsetCurveSetBuilder.cpp 2015-07-28 21:08:47 UTC (rev 4064)
@@ -18,6 +18,7 @@
*
**********************************************************************/
+#include <geos/platform.h>
#include <geos/algorithm/CGAlgorithms.h>
#include <geos/algorithm/MinimumDiameter.h>
#include <geos/util/UnsupportedOperationException.h>
More information about the geos-commits
mailing list