mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
Source: Fix -Wmissing-variable-declarations warning
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern unsigned char const cm_utf8_ones[256];
|
||||
|
||||
/** Decode one UTF-8 character from the input byte range. On success,
|
||||
stores the unicode character number in *pc and returns the first
|
||||
position not extracted. On failure, returns 0. */
|
||||
|
||||
Reference in New Issue
Block a user