GCC can't test prototype if using wchar_t instead of char.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2002-07-06 12:49:41 +00:00
parent 658e863a99
commit 8fde61ed10

View File

@ -428,7 +428,7 @@ typedef void (*wxFunction) (wxObject&, wxEvent&);
#endif #endif
// Printf-like attribute definitions to obtain warnings with GNU C/C++ // Printf-like attribute definitions to obtain warnings with GNU C/C++
#if defined(__GNUC__) #if defined(__GNUC__) && !wxUSE_UNICODE
# ifndef ATTRIBUTE_PRINTF # ifndef ATTRIBUTE_PRINTF
# define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) # define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n)))
# define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2) # define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2)