From 349ef0adf5b9e8b929a52cce8a6d37b2c66c5fd8 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 9 Sep 2006 19:07:05 +0000 Subject: [PATCH] Compilo fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wxchar.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index 9be21d4697..1aeaec1b17 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -197,7 +197,11 @@ bool WXDLLEXPORT wxOKlibc() // result in an endless recursion and thus in a stack overflow #if wxUSE_UNICODE - #if defined(__WXWINCE__) || ( defined(__VISUALC__) && __VISUALC__ <= 1200 ) + #if defined(__WINDOWS__) + // all compilers under Windows should have swprintf() + #define HAVE_SWPRINTF + #endif + #if defined(__WXWINCE__) || ( defined(__VISUALC__) && __VISUALC__ <= 1200 ) || defined(__GNUWIN32__) #define HAVE_BROKEN_SWPRINTF_DECL #endif -- 2.47.2