summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-01-15 09:59:06 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-01-15 09:59:06 (GMT)
commit45d6212d0a25f85b915bcd0de42c0526834acd46 (patch)
treedd4cae1b9cb93f0ab3d53bd04cbbbc1ce21fdac2 /unix
parent958e264af4de5a4217a417a03a5afad507132caf (diff)
downloadtk-45d6212d0a25f85b915bcd0de42c0526834acd46.zip
tk-45d6212d0a25f85b915bcd0de42c0526834acd46.tar.gz
tk-45d6212d0a25f85b915bcd0de42c0526834acd46.tar.bz2
Factorise one more #define snprintf
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixScale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixScale.c b/unix/tkUnixScale.c
index a603432..a83f5a1 100644
--- a/unix/tkUnixScale.c
+++ b/unix/tkUnixScale.c
@@ -13,8 +13,8 @@
#include "tkInt.h"
#include "tkScale.h"
-#if defined(_WIN32)
-#define snprintf _snprintf
+#ifdef _WIN32
+#include "tkWinInt.h"
#endif
/*