diff options
author | davygrvy <davygrvy@pobox.com> | 2003-08-27 06:58:43 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2003-08-27 06:58:43 (GMT) |
commit | c69e2956cfae9eb0ecd07c698fbd964e5b19d8c6 (patch) | |
tree | 3c6176b870d3e4ba076b1ed62ca59be317d5ad85 | |
parent | 48d05e2b42fa710c66f4f7419d382f5abf042b92 (diff) | |
download | tcl-c69e2956cfae9eb0ecd07c698fbd964e5b19d8c6.zip tcl-c69e2956cfae9eb0ecd07c698fbd964e5b19d8c6.tar.gz tcl-c69e2956cfae9eb0ecd07c698fbd964e5b19d8c6.tar.bz2 |
Added some support for the OpenWatcom compiler. A win/makefile.wc to
follow soon.
-rw-r--r-- | generic/tcl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 5370fa1..ccfa8c1 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.163 2003/08/26 23:01:57 davygrvy Exp $ + * RCS: @(#) $Id: tcl.h,v 1.164 2003/08/27 06:58:43 davygrvy Exp $ */ #ifndef _TCL @@ -70,11 +70,14 @@ extern "C" { */ #ifndef __WIN32__ -# if defined(_WIN32) || defined(WIN32) || defined(__MINGW32__) || defined(__BORLANDC__) +# if defined(_WIN32) || defined(WIN32) || defined(__MINGW32__) || defined(__BORLANDC__) || (defined(__WATCOMC__) && defined(__WINDOWS_386__)) # define __WIN32__ # ifndef WIN32 # define WIN32 # endif +# ifndef _WIN32 +# define _WIN32 +# endif # endif #endif @@ -194,7 +197,7 @@ extern "C" { # define DLLIMPORT # define DLLEXPORT #else -# if (defined(__WIN32__) && (defined(_MSC_VER) || (__BORLANDC__ >= 0x0550) || defined(__LCC__) || (defined(__GNUC__) && defined(__declspec)))) || (defined(MAC_TCL) && FUNCTION_DECLSPEC) +# if (defined(__WIN32__) && (defined(_MSC_VER) || (__BORLANDC__ >= 0x0550) || defined(__LCC__) || defined(__WATCOMC__) || (defined(__GNUC__) && defined(__declspec)))) || (defined(MAC_TCL) && FUNCTION_DECLSPEC) # define DLLIMPORT __declspec(dllimport) # define DLLEXPORT __declspec(dllexport) # else |