summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-30 21:20:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-30 21:20:30 (GMT)
commit186145578675341deb63fd53e6080896695c3574 (patch)
tree4aa12b60fc6ad7ca4c19658d774dee4326ad165b /generic/tclInt.h
parent784535a35c779f46886fe9a880b706c979efdd77 (diff)
parent191fecdc87592dfea94718bc716551c72f072c33 (diff)
downloadtcl-186145578675341deb63fd53e6080896695c3574.zip
tcl-186145578675341deb63fd53e6080896695c3574.tar.gz
tcl-186145578675341deb63fd53e6080896695c3574.tar.bz2
Fix [0cb3554903]: macOS 13 SDK deprecates sprintf()
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 3fa9a11..0a48039 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -121,6 +121,7 @@ typedef int ptrdiff_t;
#if defined(_WIN32) && defined(_MSC_VER)
# define vsnprintf _vsnprintf
+# define snprintf _snprintf
#endif
/*