summaryrefslogtreecommitdiffstats
path: root/generic/tclTestObj.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/tclTestObj.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/tclTestObj.c')
-rw-r--r--generic/tclTestObj.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c
index e40d7af..9dc16a7 100644
--- a/generic/tclTestObj.c
+++ b/generic/tclTestObj.c
@@ -18,6 +18,7 @@
#ifndef USE_TCL_STUBS
# define USE_TCL_STUBS
#endif
+#define TCLBOOLWARNING(boolPtr) /* needed here because we compile with -Wc++-compat */
#include "tclInt.h"
#ifdef TCL_WITH_EXTERNAL_TOMMATH
# include "tommath.h"
@@ -25,8 +26,6 @@
# include "tclTomMath.h"
#endif
#include "tclStringRep.h"
-#undef TCLBOOLWARNING
-#define TCLBOOLWARNING(boolPtr) /* needed here because we compile with -Wc++-compat */
#include <assert.h>