]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxchar.cpp
don't include generic/statusbr.h directly
[wxWidgets.git] / src / common / wxchar.cpp
index 9be21d4697aa80f18837791ae84587a4fb13b83f..1aeaec1b172f768a8e67135394eae75bd88d7daf 100644 (file)
@@ -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