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)
commit7131af7507cf33657053637a068475e18e269193 (patch)
tree6a2b4c58f1cda2144ebf8eb0ff2df956ea84a45e /generic/tclTestObj.c
parentc055990ae5772bbc8b4bb2e09dd722be98b89091 (diff)
parent586215419b4069cc265ebf40385e1c7eeea9e358 (diff)
downloadtcl-7131af7507cf33657053637a068475e18e269193.zip
tcl-7131af7507cf33657053637a068475e18e269193.tar.gz
tcl-7131af7507cf33657053637a068475e18e269193.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>