summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1999-01-05 01:18:34 (GMT)
committerrjohnson <rjohnson>1999-01-05 01:18:34 (GMT)
commit4dc2e2283ddf7fcee1f9bcc986b5adefea384389 (patch)
treea75f121e280ba970037b8930f9a6c1cf073ed502 /generic/tcl.h
parent760c4938e485677a0254aec064f2b5514b2de2f4 (diff)
downloadtcl-4dc2e2283ddf7fcee1f9bcc986b5adefea384389.zip
tcl-4dc2e2283ddf7fcee1f9bcc986b5adefea384389.tar.gz
tcl-4dc2e2283ddf7fcee1f9bcc986b5adefea384389.tar.bz2
Added supoport for _-dclspec on gcc - RFE 972.
Ray
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 5dd83ea..a12be09 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -12,7 +12,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.30 1999/01/04 19:25:01 rjohnson Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.31 1999/01/05 01:18:34 rjohnson Exp $
*/
#ifndef _TCL
@@ -177,7 +177,7 @@
# define DLLIMPORT
# define DLLEXPORT
# else
-# ifdef _MSC_VER
+# if defined(_MSC_VER) || (defined(__GNUC__) && defined(__declspec))
# define DLLIMPORT __declspec(dllimport)
# define DLLEXPORT __declspec(dllexport)
# else