summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/unicode.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2017-05-14 16:49:49 +0100
committer smf- <smf-@users.noreply.github.com>2017-05-14 16:49:49 +0100
commitf7f4b2126e4faefcd18155d84750e11e45e9d421 (patch)
tree5c555783771da3b1dcd1dd66613dc34dd03a35b4 /src/lib/util/unicode.cpp
parentaca23ef3bae2f9eeb290ed5bb390e3b7265d1423 (diff)
Revert "reordering the #include lets you build this file with latest mingw headers (nw)"
This reverts commit c3b10caf4e83135756ce400ec39d1b10b7d97b93.
Diffstat (limited to 'src/lib/util/unicode.cpp')
-rw-r--r--src/lib/util/unicode.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/util/unicode.cpp b/src/lib/util/unicode.cpp
index 66d74f7fe99..b48cef44c79 100644
--- a/src/lib/util/unicode.cpp
+++ b/src/lib/util/unicode.cpp
@@ -8,7 +8,10 @@
***************************************************************************/
+#include "unicode.h"
+
#ifdef _WIN32
+#include "strconv.h"
#define UTF8PROC_DLLEXPORT
#endif
@@ -17,12 +20,6 @@
#include <codecvt>
#include <locale>
-#include "unicode.h"
-
-#ifdef _WIN32
-#include "strconv.h"
-#endif
-
//-------------------------------------------------
// uchar_isvalid - return true if a given