summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-02 21:00:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-02 21:00:07 (GMT)
commit7aacd3628959708ff847c2ff7cb57eb62075406f (patch)
tree717d944177f683786ce3f990e84d2220e4edfc3c /generic/tclTest.c
parent744fc8c23908542dbe2db00a18163fd6049ad286 (diff)
parent86166e1bf1f380fd197ce96246c9444dc49d0493 (diff)
downloadtcl-7aacd3628959708ff847c2ff7cb57eb62075406f.zip
tcl-7aacd3628959708ff847c2ff7cb57eb62075406f.tar.gz
tcl-7aacd3628959708ff847c2ff7cb57eb62075406f.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 ae55eaf..5bfd70f 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -27,9 +27,8 @@
# define TCL_NO_DEPRECATED
# define TCL_UTF_MAX 3
#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>