]> git.saurik.com Git - wxWidgets.git/commitdiff
fix wxVsnprintf_ declaration for VC8
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 13 Sep 2006 11:59:31 +0000 (11:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 13 Sep 2006 11:59:31 +0000 (11:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index 82e17f0d6fff43c904cd1fe9bbd3062b47bc593c..f0c11fc7b24e73f8bf60472803e88f4b13868756 100644 (file)
@@ -934,9 +934,9 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */
         // behave mostly identic to our wxVsnprintf() implementation
         #if defined(__VISUALC__) && __VISUALC__ >= 1400
             #if wxUSE_UNICODE
-                #define wxVsnprintf_    _vsprintf_p
-            #else
                 #define wxVsnprintf_    _vswprintf_p
+            #else
+                #define wxVsnprintf_    _vsprintf_p
             #endif
         #endif
     #endif