summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-01-13 10:23:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-01-13 10:23:33 (GMT)
commite7a7b152eedd5ad7da7ca920e62bfd7a2197cbaf (patch)
treecb2d0406d40f8c3aab6409b98dccb2b2dd229083 /generic/tclTest.c
parentbef67008420c0d053694ff9c6e02e4b23950f102 (diff)
downloadtcl-e7a7b152eedd5ad7da7ca920e62bfd7a2197cbaf.zip
tcl-e7a7b152eedd5ad7da7ca920e62bfd7a2197cbaf.tar.gz
tcl-e7a7b152eedd5ad7da7ca920e62bfd7a2197cbaf.tar.bz2
#ifdef TCL_NO_DEPRECATED -> #ifndef TCL_NO_DEPRECATED
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 1e50106..34d284a 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -143,7 +143,7 @@ typedef struct {
* was called for a result.
*/
-#ifdef TCL_NO_DEPRECATED
+#ifndef TCL_NO_DEPRECATED
static int freeCount;
#endif /* TCL_NO_DEPRECATED */
@@ -296,7 +296,7 @@ static Tcl_ObjCmdProc TestregexpObjCmd;
static Tcl_ObjCmdProc TestreturnObjCmd;
static void TestregexpXflags(const char *string,
size_t length, int *cflagsPtr, int *eflagsPtr);
-#ifdef TCL_NO_DEPRECATED
+#ifndef TCL_NO_DEPRECATED
static Tcl_ObjCmdProc TestsaveresultCmd;
static Tcl_FreeProc TestsaveresultFree;
#endif /* TCL_NO_DEPRECATED */
@@ -689,7 +689,7 @@ Tcltest_Init(
NULL, NULL);
Tcl_CreateObjCommand(interp, "testreturn", TestreturnObjCmd,
NULL, NULL);
-#ifdef TCL_NO_DEPRECATED
+#ifndef TCL_NO_DEPRECATED
Tcl_CreateObjCommand(interp, "testsaveresult", TestsaveresultCmd,
NULL, NULL);
#endif /* TCL_NO_DEPRECATED */
@@ -5917,7 +5917,7 @@ Testset2Cmd(
*----------------------------------------------------------------------
*/
-#ifdef TCL_NO_DEPRECATED
+#ifndef TCL_NO_DEPRECATED
static int
TestsaveresultCmd(
TCL_UNUSED(void *),