Compile fix for the version of VC8 included in the 2003 PSDK.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-11-14 13:10:56 +00:00
parent ec80cb6ec1
commit 8120bbc916

View 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