Skip to content

Commit

Permalink
Corrected the bad placement of #ifdef TCL_NETGEN . . . #endif around
Browse files Browse the repository at this point in the history
critical parts of the netcmp.c code, causing issues with the non-Tcl
build (not that anyone should be doing a non-Tcl build).
  • Loading branch information
RTimothyEdwards committed May 9, 2024
1 parent fd0c8c8 commit 2d427ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.273
1.5.274
4 changes: 2 additions & 2 deletions base/netcmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7204,8 +7204,6 @@ int EquivalenceClasses(char *name1, int file1, char *name2, int file2, int douni
return 1;
}

#ifdef TCL_NETGEN

/*----------------------------------------------------------------------*/
/* Callback function used by MatchPins */
/*----------------------------------------------------------------------*/
Expand Down Expand Up @@ -8412,6 +8410,8 @@ void FlattenCurrent()
}
}

#ifdef TCL_NETGEN

/*------------------------------------------------------*/
/* Handler is only used when netgen is run from a */
/* terminal, not the Tk console. */
Expand Down

0 comments on commit 2d427ae

Please sign in to comment.