summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-12-13 22:33:09 (GMT)
committernijtmans <nijtmans>2010-12-13 22:33:09 (GMT)
commit93ef2ca8ce830fe5a8a6126835ea3f5d269e2e6c (patch)
tree2a927d7f467322e7d1b5dce8fc02c49e157b966a /generic/tcl.h
parentb8aefcc068ba0ea1d0259b9321757135e1315167 (diff)
downloadtcl-93ef2ca8ce830fe5a8a6126835ea3f5d269e2e6c.zip
tcl-93ef2ca8ce830fe5a8a6126835ea3f5d269e2e6c.tar.gz
tcl-93ef2ca8ce830fe5a8a6126835ea3f5d269e2e6c.tar.bz2
[Bug 3135271] Link error due to hidden symbols (CentOS 4.2)
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 2e4b1fc..732b8e8 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tcl.h,v 1.309 2010/12/10 21:59:24 nijtmans Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.310 2010/12/13 22:33:11 nijtmans Exp $
*/
#ifndef _TCL
@@ -190,7 +190,7 @@ extern "C" {
# endif
#else
# define DLLIMPORT
-# if defined(__GNUC__) && __GNUC__ > 3
+# if defined(__GNUC__) && !defined(NO_VIZ)
# define DLLEXPORT __attribute__ ((visibility("default")))
# else
# define DLLEXPORT