Fix VsnprintfTestCase for recent MinGW versions.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:15:10 +0000 (17:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:15:10 +0000 (17:15 +0000)
commit051d655703d708e19a703d5d16f9f88a753a12af
treece76b3cef0a9979a1edd40bae6647ef0fadcd7ee
parent89ff7e9fb1783b5229bdb18ecd097c38d6e9e62d
Fix VsnprintfTestCase for recent MinGW versions.

MinGW now uses its own printf() implementation which handles %p differently
from the VC CRT one and uses %8x instead of %8X for it. Compare the results of
wxPrintf("%p") case-insensitively to let the test pass in any case.

Also introduce a USING_VC_CRT macro instead of testing for
__USE_MINGW_ANSI_STDIO in two different places.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/strings/vsnprintf.cpp