From: Vadim Zeitlin Date: Wed, 4 Jul 2007 20:35:42 +0000 (+0000) Subject: compilation fix for ANSI build (added #if wxUSE_UNICODE) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1a5cd56aacbfcd5480929e4646e6e97f63add8c8?ds=inline compilation fix for ANSI build (added #if wxUSE_UNICODE) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/strings/vsnprintf.cpp b/tests/strings/vsnprintf.cpp index 0d404d685e..76579c9e5a 100644 --- a/tests/strings/vsnprintf.cpp +++ b/tests/strings/vsnprintf.cpp @@ -466,10 +466,12 @@ void VsnprintfTestCase::BigToSmallBuffer() wchar_t bufw[1024], bufw2[16], bufw3[4], bufw4; char bufa[1024], bufa2[16], bufa3[4], bufa4; +#if wxUSE_UNICODE Misc(bufw, 1024); Misc(bufw2, 16); Misc(bufw3, 4); Misc(&bufw4, 1); +#endif // wxUSE_UNICODE Misc(bufa, 1024); Misc(bufa2, 16);