summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-02 21:11:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-02 21:11:49 (GMT)
commit569da6bbbb6fbd628ccbcd9d49b9f4f159974d3d (patch)
tree6a2b4c58f1cda2144ebf8eb0ff2df956ea84a45e /generic/tclTest.c
parentae6216300d5ea3b751c4201702e04bf3f644155d (diff)
parent7aacd3628959708ff847c2ff7cb57eb62075406f (diff)
downloadtcl-569da6bbbb6fbd628ccbcd9d49b9f4f159974d3d.zip
tcl-569da6bbbb6fbd628ccbcd9d49b9f4f159974d3d.tar.gz
tcl-569da6bbbb6fbd628ccbcd9d49b9f4f159974d3d.tar.bz2
Better fix for [1e48483c8b]: Use of non-standard C code in TCLBOOLWARNING
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 3aa066d..44f5234 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -21,9 +21,8 @@
#ifndef USE_TCL_STUBS
# define USE_TCL_STUBS
#endif
-#include "tclInt.h"
-#undef TCLBOOLWARNING
#define TCLBOOLWARNING(boolPtr) /* needed here because we compile with -Wc++-compat */
+#include "tclInt.h"
#include "tclOO.h"
#include <math.h>