summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-02-03 23:56:49 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-02-03 23:56:49 (GMT)
commitb1188968ab6f332dc048c339c8db6e6e9033f6b3 (patch)
tree9f884a754670efc749091d82aa0f7ae81c1dd6f7
parentb8c9d13aa05cbfcbbe02e7c35a467b6043128989 (diff)
downloadtk-b1188968ab6f332dc048c339c8db6e6e9033f6b3.zip
tk-b1188968ab6f332dc048c339c8db6e6e9033f6b3.tar.gz
tk-b1188968ab6f332dc048c339c8db6e6e9033f6b3.tar.bz2
When a function has had a leading underscore for a number of years you
might like to think about it when you remove it without testing the other compilers used. Fixed dimwitted previous edit.
-rw-r--r--win/tkWinSend.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/tkWinSend.c b/win/tkWinSend.c
index addcad6..1eaf6d1 100644
--- a/win/tkWinSend.c
+++ b/win/tkWinSend.c
@@ -10,12 +10,16 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinSend.c,v 1.22 2010/01/22 14:17:53 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinSend.c,v 1.23 2010/02/03 23:56:49 patthoyts Exp $
*/
#include "tkInt.h"
#include "tkWinSendCom.h"
+#ifdef _MSC_VER
+#define vsnprintf _vsnprintf
+#endif
+
/*
* Should be defined in WTypes.h but mingw 1.0 is missing them.
*/