]> git.lyx.org Git - lyx.git/blobdiff - src/support/docstream.C
MacOSX compile fix.
[lyx.git] / src / support / docstream.C
index b6c592bd61c163bfee9c64860c29e5d1be4d9be1..f67865263ca6d29183d9d96d3fa61199bf8a3bcd 100644 (file)
@@ -11,6 +11,7 @@
 #include <config.h>
 
 #include "docstream.h"
+#include "unicode.h"
 
 #include <cerrno>
 #include <cstdio>
 
 namespace {
 
-#ifdef WORDS_BIGENDIAN
-char const * ucs4_codeset = "UCS-4BE";
-#else
-char const * ucs4_codeset = "UCS-4LE";
-#endif
 char const * utf8_codeset = "UTF-8";
 
 // We use C IO throughout this file, because the facets might be used with