]> git.lyx.org Git - lyx.git/blobdiff - src/support/strfwd.h
Fix some warnings
[lyx.git] / src / support / strfwd.h
index 58b44f59b3cd09effa4e639ab22b62061855f12e..eef3a83a0ce44a04eeb42ff55e0e57f45a8415ff 100644 (file)
@@ -23,13 +23,13 @@ namespace lyx { typedef wchar_t char_type; }
 
 #else
 
-#if defined(_MSC_VER) && (_MSC_VER >= 1600)
 #include <cstdint>
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1600)
 namespace lyx { typedef uint32_t char_type; }
 #include "support/numpunct_lyx_char_type.h" // implementation for our char_type needed
 #else
-#include <boost/cstdint.hpp>
-namespace lyx { typedef boost::uint32_t char_type; }
+namespace lyx { typedef std::uint32_t char_type; }
 #endif
 
 #endif
@@ -63,7 +63,7 @@ typedef basic_istream<char, char_traits<char> > istream;
 typedef basic_ostream<char, char_traits<char> > ostream;
 typedef basic_ostringstream<char, char_traits<char>, allocator<char> > ostringstream;
 
-} // namepace std
+} // namespace std
 
 #endif