diff options
author | hobbs <hobbs@noemail.net> | 2000-03-31 08:52:25 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2000-03-31 08:52:25 (GMT) |
commit | 81b94d11359675d289a7493c128e5511c9f18815 (patch) | |
tree | 98cafa8492f8f5cdc15405f98b3da66ac0f35396 /win/tclWinPort.h | |
parent | cead206d79345716d073368d6a49257eabb1fb85 (diff) | |
download | tcl-81b94d11359675d289a7493c128e5511c9f18815.zip tcl-81b94d11359675d289a7493c128e5511c9f18815.tar.gz tcl-81b94d11359675d289a7493c128e5511c9f18815.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]
FossilOrigin-Name: 36c0007d3febaff6e2e098f6a89f9c2a8db40ce2
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 9 |
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__ */ /* *--------------------------------------------------------------------------- |