about summary refs log tree commit diff
path: root/src/boost/format.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/format.hpp')
-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 a287048ed338..1476cb796d46 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>