diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 3aaa9ba0b6..e507b251b4 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -585,7 +585,9 @@ WXDLLEXPORT bool wxOKlibc(); // for internal use #define wxVsnprintf_ vswprintf #endif #else // ASCII - #if (defined(HAVE_VSNPRINTF) || defined(__WXMAC__)) + // all versions of CodeWarrior supported by wxWindows apparently have + // vsnprintf() + #if defined(HAVE_VSNPRINTF) || defined(__MWERKS__) // assume we have snprintf() too if we have vsnprintf() #define wxVsnprintf_ vsnprintf #define wxSnprintf_ snprintf