[fdo-commits] r827 - branches/3.2.x/Fdo/Unmanaged/Src/Spatial

svn_fdo at osgeo.org svn_fdo at osgeo.org
Wed Mar 7 18:17:08 EST 2007


Author: jacklee
Date: 2007-03-07 18:17:08 -0500 (Wed, 07 Mar 2007)
New Revision: 827

Modified:
   branches/3.2.x/Fdo/Unmanaged/Src/Spatial/SpatialUtility.cpp
Log:
Don't use the optimized way to determine the extents on Linux

Modified: branches/3.2.x/Fdo/Unmanaged/Src/Spatial/SpatialUtility.cpp
===================================================================
--- branches/3.2.x/Fdo/Unmanaged/Src/Spatial/SpatialUtility.cpp	2007-03-07 16:51:55 UTC (rev 826)
+++ branches/3.2.x/Fdo/Unmanaged/Src/Spatial/SpatialUtility.cpp	2007-03-07 23:17:08 UTC (rev 827)
@@ -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