]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix for the version of VC8 included in the 2003 PSDK.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 14 Nov 2006 13:10:56 +0000 (13:10 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 14 Nov 2006 13:10:56 +0000 (13:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index f8b7322717e35880bcf802f15eff4ae73275cd79..76e990c689cffbf9160eb7fa7d7e8edc0b25ab74 100644 (file)
@@ -913,9 +913,11 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */
     #else /* !HAVE_UNIX98_PRINTF */
         /*
             The only compiler with positional parameters support under Windows
-            is VC++ 8.0 which provides a new xxprintf_p() functions family
+            is VC++ 8.0 which provides a new xxprintf_p() functions family.
+            The 2003 PSDK includes a slightly earlier version of VC8 than the
+            main release and does not have the printf_p functions.
          */
-        #if defined(__VISUALC__) && __VISUALC__ >= 1400 && !defined(__WXWINCE__)
+        #if defined _MSC_FULL_VER && _MSC_FULL_VER >= 140050727 && !defined __WXWINCE__
             #if wxUSE_UNICODE
                 #define wxVsnprintf_    _vswprintf_p
             #else