[fdo-commits] r2664 - trunk/Fdo/Unmanaged/Src/Spatial
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Fri Mar 9 13:59:05 EST 2007
Author: jacklee
Date: 2007-03-09 13:59:05 -0500 (Fri, 09 Mar 2007)
New Revision: 2664
Modified:
trunk/Fdo/Unmanaged/Src/Spatial/SpatialUtility.cpp
Log:
Ticket #33
On Linux, do not use the optimize way to determine the extents
Modified: trunk/Fdo/Unmanaged/Src/Spatial/SpatialUtility.cpp
===================================================================
--- trunk/Fdo/Unmanaged/Src/Spatial/SpatialUtility.cpp 2007-03-09 18:54:26 UTC (rev 2663)
+++ trunk/Fdo/Unmanaged/Src/Spatial/SpatialUtility.cpp 2007-03-09 18:59:05 UTC (rev 2664)
@@ -3322,6 +3322,7 @@
default:break;
}
+#ifdef _WIN32
//-------------------------------------------------
//
@@ -3457,13 +3458,12 @@
}
}
-
+#else
//----------------------------------
//
//original way of finding min and max in this loop
//
//----------------------------------
- /*
if (x > maxx)
maxx = x;
if (x < minx)
@@ -3472,7 +3472,7 @@
maxy = y;
if (y < miny)
miny = y;
- */
+#endif
num_pts_read++;
}
More information about the fdo-commits
mailing list