From 4dc2e2283ddf7fcee1f9bcc986b5adefea384389 Mon Sep 17 00:00:00 2001
From: rjohnson <rjohnson>
Date: Tue, 5 Jan 1999 01:18:34 +0000
Subject: Added supoport for _-dclspec on gcc - RFE 972.

Ray
---
 generic/tcl.h | 4 ++--
 1 file 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
-- 
cgit v0.12