]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected test for _vsnprintf
authorJulian Smart <julian@anthemion.co.uk>
Mon, 24 Jul 2000 09:01:57 +0000 (09:01 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 24 Jul 2000 09:01:57 +0000 (09:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index 512206fe5742c188ac6c4d76cf6907275a1596cf..d97e47a0d10ae4430f38bc440e47729285d85f4c 100644 (file)
@@ -113,7 +113,7 @@ extern const wxChar WXDLLEXPORT *wxEmptyString = &g_strEmpty.dummy;
 //       function wxVsnprintfA (A for ANSI), should also find one for Unicode
 //       strings in Unicode build
 #ifdef __WXMSW__
-    #if defined(__VISUALC__) || defined(__MINGW32__)
+    #if defined(__VISUALC__) || (defined(__MINGW32__) && wxUSE_NORLANDER_HEADERS)
         #define wxVsnprintfA     _vsnprintf
     #endif
 #else   // !Windows