summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-12-14 21:51:53 (GMT)
committernijtmans <nijtmans>2010-12-14 21:51:53 (GMT)
commit4591a0a4177c686ed6c23378fa6ee49aea44e934 (patch)
treef663bf242a54c9788649f2f63f3514e43c2c8488
parent8fbf69efab55ad2cc2c533f0ba55f4c700f102c6 (diff)
downloadtcl-4591a0a4177c686ed6c23378fa6ee49aea44e934.zip
tcl-4591a0a4177c686ed6c23378fa6ee49aea44e934.tar.gz
tcl-4591a0a4177c686ed6c23378fa6ee49aea44e934.tar.bz2
[Bug 3137454]: Tcl CVS HEAD does not build on GCC 3
-rw-r--r--ChangeLog4
-rw-r--r--generic/tcl.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6db7b15..d8ac2e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-14 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * generic/tcl.h: [Bug 3137454]: Tcl CVS HEAD does not build on GCC 3
+
2010-12-14 Reinhard Max <max@suse.de>
* win/tclWinSock.c (CreateSocket): Swap the loops over
diff --git a/generic/tcl.h b/generic/tcl.h
index 732b8e8..54a6579 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.310 2010/12/13 22:33:11 nijtmans Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.311 2010/12/14 21:51:53 nijtmans Exp $
*/
#ifndef _TCL
@@ -190,7 +190,7 @@ extern "C" {
# endif
#else
# define DLLIMPORT
-# if defined(__GNUC__) && !defined(NO_VIZ)
+# if defined(__GNUC__) && !defined(NO_VIZ) && !defined(STATIC_BUILD)
# define DLLEXPORT __attribute__ ((visibility("default")))
# else
# define DLLEXPORT