summaryrefslogtreecommitdiffstats
path: root/Source/cm_codecvt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cm_codecvt.cxx')
-rw-r--r--Source/cm_codecvt.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cm_codecvt.cxx b/Source/cm_codecvt.cxx
index ddee968..8115306 100644
--- a/Source/cm_codecvt.cxx
+++ b/Source/cm_codecvt.cxx
@@ -9,11 +9,8 @@
# include <windows.h>
# undef max
# include "cmsys/Encoding.hxx"
-#endif
-#if defined(_WIN32)
-/* Number of leading ones before a zero in the byte (see cm_utf8.c). */
-extern "C" unsigned char const cm_utf8_ones[256];
+# include "cm_utf8.h"
#endif
codecvt::codecvt(Encoding e)