summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authormdejong <mdejong>2001-07-17 02:01:23 (GMT)
committermdejong <mdejong>2001-07-17 02:01:23 (GMT)
commitb8bb94671e8999fad9dd12e9a182bafb1f030c19 (patch)
tree2cad859a856b37e33dff04b960c188aecb4b7b67 /generic/tcl.h
parent69695c3c8e2ec08c505eb65ef119b3bb808dd79e (diff)
downloadtcl-b8bb94671e8999fad9dd12e9a182bafb1f030c19.zip
tcl-b8bb94671e8999fad9dd12e9a182bafb1f030c19.tar.gz
tcl-b8bb94671e8999fad9dd12e9a182bafb1f030c19.tar.bz2
* generic/tcl.h: Define __WIN32__ when
__CYGWIN__ or __MINGW32__ is defined. * generic/tclAlloc.c: Define caddr_t when compiling with VC++ or mingw. This type is already defined when compiling with Cygwin.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index a08cbc8..08ae9c3 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.92 2001/07/12 13:15:09 dkf Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.93 2001/07/17 02:01:23 mdejong Exp $
*/
#ifndef _TCL
@@ -71,7 +71,8 @@ extern "C" {
*/
#ifndef __WIN32__
-# if defined(_WIN32) || defined(WIN32)
+# if defined(_WIN32) || defined(WIN32) || \
+ defined(__CYGWIN__) || defined(__MINGW32__)
# define __WIN32__
# endif
#endif