Corrected the bad placement of #ifdef TCL_NETGEN . . . #endif around

critical parts of the netcmp.c code, causing issues with the non-Tcl
build (not that anyone should be doing a non-Tcl build).
This commit is contained in:
Tim Edwards 2024-05-09 14:11:26 -04:00
parent fd0c8c87ea
commit 2d427aef3c
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
1.5.273 1.5.274

View File

@ -7204,8 +7204,6 @@ int EquivalenceClasses(char *name1, int file1, char *name2, int file2, int douni
return 1; return 1;
} }
#ifdef TCL_NETGEN
/*----------------------------------------------------------------------*/ /*----------------------------------------------------------------------*/
/* Callback function used by MatchPins */ /* Callback function used by MatchPins */
/*----------------------------------------------------------------------*/ /*----------------------------------------------------------------------*/
@ -8412,6 +8410,8 @@ void FlattenCurrent()
} }
} }
#ifdef TCL_NETGEN
/*------------------------------------------------------*/ /*------------------------------------------------------*/
/* Handler is only used when netgen is run from a */ /* Handler is only used when netgen is run from a */
/* terminal, not the Tk console. */ /* terminal, not the Tk console. */