summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-20 16:13:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-20 16:13:36 (GMT)
commitf3e5dd7a047e53790fe6316d5a5130dc5df80ef1 (patch)
tree95ea895301bc985ce354a83885f5a462bbfef2c3 /unix/tcl.m4
parent588a92ec6b144cf320d0ba358f7ec078f16316ac (diff)
downloadtcl-f3e5dd7a047e53790fe6316d5a5130dc5df80ef1.zip
tcl-f3e5dd7a047e53790fe6316d5a5130dc5df80ef1.tar.gz
tcl-f3e5dd7a047e53790fe6316d5a5130dc5df80ef1.tar.bz2
Prevent double definition of MODULE_SCOPE on Darwin
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 0e146e4..cfdb659 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1619,6 +1619,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AS_IF([test "$tcl_cv_cc_visibility_hidden" != yes], [
AC_DEFINE(MODULE_SCOPE, [__private_extern__],
[Compiler support for module scope symbols])
+ tcl_cv_cc_visibility_hidden=yes
])
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""