]> git.lyx.org Git - lyx.git/blobdiff - src/support/unicode.C
MacOSX compile fix.
[lyx.git] / src / support / unicode.C
index 97e88c94fa64f6e9b08399a7b5df7978cd97dc4f..1545e2ddc01b19e0bf9609ec751c9d208e8b6b8c 100644 (file)
@@ -23,8 +23,6 @@
 
 using std::endl;
 
-namespace {
-
 #ifdef WORDS_BIGENDIAN
        char const * ucs4_codeset = "UCS-4BE";
        char const * ucs2_codeset = "UCS-2BE";
@@ -33,6 +31,8 @@ namespace {
        char const * ucs2_codeset = "UCS-2LE";
 #endif
 
+namespace {
+
 template<typename RetType, typename InType>
 std::vector<RetType>
 iconv_convert(iconv_t * cd,