diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-05-02 21:11:49 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-05-02 21:11:49 (GMT) |
commit | 7131af7507cf33657053637a068475e18e269193 (patch) | |
tree | 6a2b4c58f1cda2144ebf8eb0ff2df956ea84a45e /generic/tclTestObj.c | |
parent | c055990ae5772bbc8b4bb2e09dd722be98b89091 (diff) | |
parent | 586215419b4069cc265ebf40385e1c7eeea9e358 (diff) | |
download | tcl-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.c | 3 |
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> |