summaryrefslogtreecommitdiff
path: root/boost/archive/impl/xml_woarchive_impl.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/archive/impl/xml_woarchive_impl.ipp')
-rw-r--r--boost/archive/impl/xml_woarchive_impl.ipp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/archive/impl/xml_woarchive_impl.ipp b/boost/archive/impl/xml_woarchive_impl.ipp
index 58f92c9d92..01b1a052d5 100644
--- a/boost/archive/impl/xml_woarchive_impl.ipp
+++ b/boost/archive/impl/xml_woarchive_impl.ipp
@@ -17,7 +17,9 @@
#include <cstring> // strlen
#include <cstdlib> // mbtowc
+#ifndef BOOST_NO_CWCHAR
#include <cwchar> // wcslen
+#endif
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)