X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e61dfb0e8a33da1be9ab77d92fe5369209ce60c..3cc487d140f11e26a9c4ae35ba87cc22684da65a:/src/common/strconv.cpp diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index baed36b001..d85340b877 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -87,6 +87,8 @@ WXDLLEXPORT_DATA(wxMBConv *) wxConvCurrent = &wxConvLibc; #if wxUSE_WCHAR_T +#ifdef WC_UTF16 + static size_t encode_utf16(wxUint32 input,wxUint16*output) { if (input<=0xffff) { @@ -119,6 +121,8 @@ static size_t decode_utf16(wxUint16*input,wxUint32&output) } } +#endif // WC_UTF16 + // ---------------------------------------------------------------------------- // wxMBConv // ----------------------------------------------------------------------------