]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for !wxUSE_PRINTF_POS_PARAMS
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Apr 2007 15:01:57 +0000 (15:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Apr 2007 15:01:57 +0000 (15:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxcrt.h

index 5656e6348101e7b7da76e38ca6b8c23f6ce058c4..dbf8479f592233e8c4c66daea1772eb3325705db 100644 (file)
@@ -748,6 +748,7 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */
     #ifndef wxVsnprintf_
         #if defined(__VISUALC__) || \
                 (defined(__BORLANDC__) && __BORLANDC__ >= 0x540)
+            #define wxSnprintf_     _sntprintf
             #define wxVsnprintf_    _vsntprintf
             WX_DEFINE_VARARG_FUNC(int, wxSnprintf_, _sntprintf)
         #endif