summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2003-08-26 23:01:57 (GMT)
committerdavygrvy <davygrvy@pobox.com>2003-08-26 23:01:57 (GMT)
commitc2eccbc6095c0542f63f32f772b09198e69ecd42 (patch)
tree991729ffef189ca5dcbc53e067e693b06b3c39af
parentfc7f751a06e5d25fe90d4d79961dd9ac1a6bb596 (diff)
downloadtcl-c2eccbc6095c0542f63f32f772b09198e69ecd42.zip
tcl-c2eccbc6095c0542f63f32f772b09198e69ecd42.tar.gz
tcl-c2eccbc6095c0542f63f32f772b09198e69ecd42.tar.bz2
Added some support for the LCC-Win32 compiler. Unfortunetly, this compiler
has a bug in its preprocessor and can't build Tcl even with this minor patch.
-rw-r--r--generic/tcl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 1b02611..5370fa1 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.162 2003/07/24 18:16:30 mdejong Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.163 2003/08/26 23:01:57 davygrvy Exp $
*/
#ifndef _TCL
@@ -194,7 +194,7 @@ extern "C" {
# define DLLIMPORT
# define DLLEXPORT
#else
-# if (defined(__WIN32__) && (defined(_MSC_VER) || (__BORLANDC__ >= 0x0550) || (defined(__GNUC__) && defined(__declspec)))) || (defined(MAC_TCL) && FUNCTION_DECLSPEC)
+# if (defined(__WIN32__) && (defined(_MSC_VER) || (__BORLANDC__ >= 0x0550) || defined(__LCC__) || (defined(__GNUC__) && defined(__declspec)))) || (defined(MAC_TCL) && FUNCTION_DECLSPEC)
# define DLLIMPORT __declspec(dllimport)
# define DLLEXPORT __declspec(dllexport)
# else