summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authordavygrvy@pobox.com <davygrvy>2003-08-27 06:58:43 (GMT)
committerdavygrvy@pobox.com <davygrvy>2003-08-27 06:58:43 (GMT)
commita4e9b7726b1af8cf35c5094e8bd73db17089a6b1 (patch)
tree3c6176b870d3e4ba076b1ed62ca59be317d5ad85 /generic/tcl.h
parent5c4adb622785876f5a591ae4041b771b69221424 (diff)
downloadtcl-a4e9b7726b1af8cf35c5094e8bd73db17089a6b1.zip
tcl-a4e9b7726b1af8cf35c5094e8bd73db17089a6b1.tar.gz
tcl-a4e9b7726b1af8cf35c5094e8bd73db17089a6b1.tar.bz2
Added some support for the OpenWatcom compiler. A win/makefile.wc to
follow soon.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h9
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