summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-03-31 08:52:25 (GMT)
committerhobbs <hobbs>2000-03-31 08:52:25 (GMT)
commitbfc465013806bbc8b695f2bbe20707a6b25ad961 (patch)
tree98cafa8492f8f5cdc15405f98b3da66ac0f35396 /win/tclWinPort.h
parent3c56f64822ed7b64de23a900456152fe8ee1fb60 (diff)
downloadtcl-bfc465013806bbc8b695f2bbe20707a6b25ad961.zip
tcl-bfc465013806bbc8b695f2bbe20707a6b25ad961.tar.gz
tcl-bfc465013806bbc8b695f2bbe20707a6b25ad961.tar.bz2
* generic/tclInt.decls:
* generic/tclIntPlatDecls.h: * generic/tclStubInit.c: * win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s support). * win/tclWinReg.c: made use of TclWinGetPlatformId instead of getting info again * win/tclWinPort.h: * win/Makefile.in: * win/configure.in: * win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234]
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 2d171b1..a40681c 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinPort.h,v 1.11 1999/10/29 03:05:13 hobbs Exp $
+ * RCS: @(#) $Id: tclWinPort.h,v 1.12 2000/03/31 08:52:31 hobbs Exp $
*/
#ifndef _TCLWINPORT
@@ -335,12 +335,15 @@ typedef float *TCHAR;
* EDEADLK as the same value, which confuses Tcl_ErrnoId().
*/
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__MINGW32__)
# define environ _environ
# define hypot _hypot
# define exception _exception
# undef EDEADLOCK
-#endif /* _MSC_VER */
+# if defined(__MINGW32__) && !defined(__MSVCRT__)
+# define timezone _timezone
+# endif
+#endif /* _MSC_VER || __MINGW32__ */
/*
*---------------------------------------------------------------------------