summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-15 21:47:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-15 21:47:28 (GMT)
commit58502bda0b655dcb2b8e619c1cce4ba99f294aad (patch)
tree2e6a0216bed71ec55f1c041a7c19ac5d3ab12487
parent0a6f1e351d4d49a2886153bf5fb4268175b5bb8a (diff)
downloadtcl-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.h3
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 */