diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-15 21:47:28 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-15 21:47:28 (GMT) |
commit | 58502bda0b655dcb2b8e619c1cce4ba99f294aad (patch) | |
tree | 2e6a0216bed71ec55f1c041a7c19ac5d3ab12487 | |
parent | 0a6f1e351d4d49a2886153bf5fb4268175b5bb8a (diff) | |
download | tcl-58502bda0b655dcb2b8e619c1cce4ba99f294aad.zip tcl-58502bda0b655dcb2b8e619c1cce4ba99f294aad.tar.gz tcl-58502bda0b655dcb2b8e619c1cce4ba99f294aad.tar.bz2 |
Make TCL_MAC_EMPTY_FILE macro work with C++ compiler
-rw-r--r-- | generic/tclInt.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 05167b7..07a5fb6 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -5205,8 +5205,7 @@ typedef struct NRE_callback { #ifdef MAC_OSX_TCL #define TCL_MAC_EMPTY_FILE(name) \ - static __attribute__((used)) const void *const TclUnusedFile_ ## name; \ - static const void *const TclUnusedFile_ ## name = NULL; + static __attribute__((used)) const void *const TclUnusedFile_ ## name = NULL; #else #define TCL_MAC_EMPTY_FILE(name) #endif /* MAC_OSX_TCL */ |