summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-04-11 07:31:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-04-11 07:31:18 (GMT)
commitef309fcd9588574626469b6b0d0e169dbf0e097c (patch)
tree76c5ff34aaafe880b1f5e5af0027b3bee77f28ec /generic/tcl.h
parent482a45104f6ba35c391aaa3014419e723b063116 (diff)
downloadtcl-ef309fcd9588574626469b6b0d0e169dbf0e097c.zip
tcl-ef309fcd9588574626469b6b0d0e169dbf0e097c.tar.gz
tcl-ef309fcd9588574626469b6b0d0e169dbf0e097c.tar.bz2
fix for [Bug 3281728]: Tcl sources from 2011-04-06 do not build on GCC9 (RH9)
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 3285c3c..ed63f8f 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -193,7 +193,7 @@ extern "C" {
# endif
#else
# define DLLIMPORT
-# if defined(__GNUC__) && !defined(NO_VIZ) && !defined(STATIC_BUILD)
+# if defined(__GNUC__) && __GNUC__ > 3
# define DLLEXPORT __attribute__ ((visibility("default")))
# else
# define DLLEXPORT