From: Vadim Zeitlin Date: Wed, 4 Jul 2007 11:49:22 +0000 (+0000) Subject: test whether HAVE_VSWPRINTF is defined, not whether it's 0 or 1 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ebdc8341057713146d1b342434899f66acef0c12?ds=inline test whether HAVE_VSWPRINTF is defined, not whether it's 0 or 1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/wxcrtvararg.h b/include/wx/wxcrtvararg.h index 9dbfe7ebe5..2f346da78e 100644 --- a/include/wx/wxcrtvararg.h +++ b/include/wx/wxcrtvararg.h @@ -180,7 +180,7 @@ #define wxCRT_VfprintfW vfwprintf #define wxCRT_VprintfW vwprintf -#if defined(__WINDOWS__) && !HAVE_VSWPRINTF +#if defined(__WINDOWS__) && !defined(HAVE_VSWPRINTF) // only non-standard vswprintf() without buffer size argument can be used here #define wxCRT_VsprintfW vswprintf #endif