[MOAB-dev] r1456 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Fri Dec 7 16:47:19 CST 2007


Author: kraftche
Date: 2007-12-07 16:47:18 -0600 (Fri, 07 Dec 2007)
New Revision: 1456

Modified:
   MOAB/trunk/MBAdaptiveKDTree.cpp
   MOAB/trunk/MBGeomUtil.cpp
   MOAB/trunk/MBOrientedBox.cpp
Log:
include <float.h> on Windows to get _finite(double)

Modified: MOAB/trunk/MBAdaptiveKDTree.cpp
===================================================================
--- MOAB/trunk/MBAdaptiveKDTree.cpp	2007-12-07 22:44:56 UTC (rev 1455)
+++ MOAB/trunk/MBAdaptiveKDTree.cpp	2007-12-07 22:47:18 UTC (rev 1456)
@@ -29,6 +29,7 @@
 #include <limits>
 
 #ifdef _MSC_VER
+#  include <float.h>
 #  define finite(A) _finite(A)
 #endif
 

Modified: MOAB/trunk/MBGeomUtil.cpp
===================================================================
--- MOAB/trunk/MBGeomUtil.cpp	2007-12-07 22:44:56 UTC (rev 1455)
+++ MOAB/trunk/MBGeomUtil.cpp	2007-12-07 22:47:18 UTC (rev 1456)
@@ -26,6 +26,7 @@
 #include <assert.h>
 
 #ifdef _MSC_VER
+#  include <float.h>
 #  define finite(A) _finite(A)
 #endif
 

Modified: MOAB/trunk/MBOrientedBox.cpp
===================================================================
--- MOAB/trunk/MBOrientedBox.cpp	2007-12-07 22:44:56 UTC (rev 1455)
+++ MOAB/trunk/MBOrientedBox.cpp	2007-12-07 22:47:18 UTC (rev 1456)
@@ -41,6 +41,7 @@
 #include <limits>
 
 #ifdef _MSC_VER
+#  include <float.h>
 #  define finite(A) _finite(A)
 #endif
  




More information about the moab-dev mailing list