diff options
author | Sean McBride <sean@rogue-research.com> | 2021-11-23 01:10:39 (GMT) |
---|---|---|
committer | Sean McBride <sean@rogue-research.com> | 2021-12-01 16:17:39 (GMT) |
commit | 4b548c10285d80b8781e5572c5cbd706d6c1fe91 (patch) | |
tree | 37ea88945b77b9eb9551f37f83e46abd70f7366b /Source/cm_codecvt.cxx | |
parent | 29ffa5f48c68bfbfb03222e230f91010c2677ae7 (diff) | |
download | CMake-4b548c10285d80b8781e5572c5cbd706d6c1fe91.zip CMake-4b548c10285d80b8781e5572c5cbd706d6c1fe91.tar.gz CMake-4b548c10285d80b8781e5572c5cbd706d6c1fe91.tar.bz2 |
Source: Fix -Wmissing-variable-declarations warning
Diffstat (limited to 'Source/cm_codecvt.cxx')
-rw-r--r-- | Source/cm_codecvt.cxx | 5 |
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) |