diff options
author | 2017-05-14 16:01:53 +0100 | |
---|---|---|
committer | 2017-05-14 16:09:24 +0100 | |
commit | c3b10caf4e83135756ce400ec39d1b10b7d97b93 (patch) | |
tree | 92ffedb8a5e5d2c84e1c43ce94acdb133b403758 | |
parent | 644b5d761efbb0e88e5527796b2ba00dc51ec71b (diff) |
reordering the #include lets you build this file with latest mingw headers (nw)
-rw-r--r-- | src/lib/util/unicode.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/util/unicode.cpp b/src/lib/util/unicode.cpp index b48cef44c79..66d74f7fe99 100644 --- a/src/lib/util/unicode.cpp +++ b/src/lib/util/unicode.cpp @@ -8,10 +8,7 @@ ***************************************************************************/ -#include "unicode.h" - #ifdef _WIN32 -#include "strconv.h" #define UTF8PROC_DLLEXPORT #endif @@ -20,6 +17,12 @@ #include <codecvt> #include <locale> +#include "unicode.h" + +#ifdef _WIN32 +#include "strconv.h" +#endif + //------------------------------------------------- // uchar_isvalid - return true if a given |