summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
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 *),