diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-04-11 07:31:18 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-04-11 07:31:18 (GMT) |
commit | b53656eb515013c732c2b2f68b94ce7ec828fd86 (patch) | |
tree | 76c5ff34aaafe880b1f5e5af0027b3bee77f28ec /generic/tcl.h | |
parent | 3f5982300b7fea6cb30356f305d7e1d5f8b98955 (diff) | |
download | tcl-b53656eb515013c732c2b2f68b94ce7ec828fd86.zip tcl-b53656eb515013c732c2b2f68b94ce7ec828fd86.tar.gz tcl-b53656eb515013c732c2b2f68b94ce7ec828fd86.tar.bz2 |
fix for [Bug 3281728]: Tcl sources from 2011-04-06 do not build on GCC9 (RH9)
FossilOrigin-Name: e0421a23a8b45c67fb3015add23ac98f4acfcce3
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 2 |
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 |