From: Vadim Zeitlin Date: Sat, 9 Jun 2001 23:22:44 +0000 (+0000) Subject: add #error for platforms with weird sizeof(wchar_t) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bab1e7222184a58dc2507be38395d836cff51fcf add #error for platforms with weird sizeof(wchar_t) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index b8982301a6..c129faee32 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -72,6 +72,9 @@ #define WC_NAME "UTF16" #define WC_BSWAP BSWAP_UTF16 #define WC_UTF16 +#else // sizeof(wchar_t) != 2 nor 4 +// I don't know what to do about this +#error "Please report your platform details to wx-users mailing list" #endif // ----------------------------------------------------------------------------