diff options
author | fvogel <fvogelnew1@free.fr> | 2023-01-14 11:10:28 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2023-01-14 11:10:28 (GMT) |
commit | cdc8d2fa8d71e9a6f9e452006cc7b10acc9ab930 (patch) | |
tree | 6ab96bcbd5bdc6edfaaa6ad37e52bbeb066e98a1 /generic/tkBind.c | |
parent | 2d4a3f8ce9a84fd47a0b8586f5b2f62c282a3c95 (diff) | |
download | tk-cdc8d2fa8d71e9a6f9e452006cc7b10acc9ab930.zip tk-cdc8d2fa8d71e9a6f9e452006cc7b10acc9ab930.tar.gz tk-cdc8d2fa8d71e9a6f9e452006cc7b10acc9ab930.tar.bz2 |
Factorise definition of snprintf in tkWinInt.h (MSVC before 2015 didn't know snprintf).
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r-- | generic/tkBind.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c index 830e429..0cf887d 100644 --- a/generic/tkBind.c +++ b/generic/tkBind.c @@ -31,14 +31,6 @@ # define DEBUG(expr) expr #endif -#ifdef _MSC_VER -/* - * Earlier versions of MSVC don't know snprintf, but _snprintf is compatible. - * Note that sprintf is deprecated. - */ -# define snprintf _snprintf -#endif - #define SIZE_OF_ARRAY(arr) (sizeof(arr)/sizeof(arr[0])) /* |