Skip to content

Commit

Permalink
#ifdef TCL_NO_DEPRECATED -> #ifndef TCL_NO_DEPRECATED
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Jan 13, 2025
1 parent bef6700 commit e7a7b15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions generic/tclTest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -5917,7 +5917,7 @@ Testset2Cmd(
*----------------------------------------------------------------------
*/

#ifdef TCL_NO_DEPRECATED
#ifndef TCL_NO_DEPRECATED
static int
TestsaveresultCmd(
TCL_UNUSED(void *),
Expand Down

0 comments on commit e7a7b15

Please sign in to comment.