summaryrefslogtreecommitdiff
path: root/include/cppunit/config
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppunit/config')
-rw-r--r--include/cppunit/config/config-evc4.h5
-rw-r--r--include/cppunit/config/config-msvc6.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/include/cppunit/config/config-evc4.h b/include/cppunit/config/config-evc4.h
index cb141b0..a791698 100644
--- a/include/cppunit/config/config-evc4.h
+++ b/include/cppunit/config/config-evc4.h
@@ -60,6 +60,11 @@
# define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l):"
#endif
+/* define to 1 if the compiler has _finite() */
+#ifndef CPPUNIT_HAVE__FINITE
+#define CPPUNIT_HAVE__FINITE 1
+#endif
+
// Uncomment to turn on STL wrapping => use this to test compilation.
// This will make CppUnit subclass std::vector & co to provide default
// parameter.
diff --git a/include/cppunit/config/config-msvc6.h b/include/cppunit/config/config-msvc6.h
index a1b0af2..d688171 100644
--- a/include/cppunit/config/config-msvc6.h
+++ b/include/cppunit/config/config-msvc6.h
@@ -64,6 +64,11 @@
// Define to 1 if the compiler support C++ style cast.
#define CPPUNIT_HAVE_CPP_CAST 1
+/* define to 1 if the compiler has _finite() */
+#ifndef CPPUNIT_HAVE__FINITE
+#define CPPUNIT_HAVE__FINITE 1
+#endif
+
// Uncomment to turn on STL wrapping => use this to test compilation.
// This will make CppUnit subclass std::vector & co to provide default