about summary refs log tree commit diff
path: root/src/boost
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-12-22T16·40+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-12-22T16·40+0000
commit833f2fc92da8d31c62eb35dae8b3861829a1383a (patch)
tree1b17d4abba32942bdf2ea0f47def8c94c6ee14cc /src/boost
parentcf0287c09e8b5816c65dd265c4ef167865d70172 (diff)
* GCC 2.95 compatibility.
Diffstat (limited to 'src/boost')
-rw-r--r--src/boost/format.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/boost/format.hpp b/src/boost/format.hpp
index a287048ed3..1476cb796d 100644
--- a/src/boost/format.hpp
+++ b/src/boost/format.hpp
@@ -24,10 +24,13 @@
 #include <sstream>
 #include <cassert>
 
+#if HAVE_LOCALE
 #include <locale>
-//#define BOOST_NO_STD_LOCALE
-//#define BOOST_NO_LOCALE_ISIDIGIT
-//#include <cctype>
+#else
+#define BOOST_NO_STD_LOCALE
+#define BOOST_NO_LOCALE_ISIDIGIT
+#include <cctype>
+#endif
 
 #include <boost/format/macros_default.hpp>