diff options
author | Kevin B Kenny <kennykb@acm.org> | 2007-04-21 22:42:47 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2007-04-21 22:42:47 (GMT) |
commit | 4c52dbbf38cecfacf395db9e4b997afca4fb89d8 (patch) | |
tree | 74f27840a66f878f15af8a6a5360a1b624736860 /unix/tclUnixPort.h | |
parent | ad9fab80754ebdbd448c9aee064bb104964f02cf (diff) | |
download | tcl-4c52dbbf38cecfacf395db9e4b997afca4fb89d8.zip tcl-4c52dbbf38cecfacf395db9e4b997afca4fb89d8.tar.gz tcl-4c52dbbf38cecfacf395db9e4b997afca4fb89d8.tar.bz2 |
Restored Cygwin buildability [Bug 1387154]
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index d52b7d0..d98e8e4 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -19,7 +19,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixPort.h,v 1.27.2.17 2007/04/21 19:52:15 kennykb Exp $ + * RCS: @(#) $Id: tclUnixPort.h,v 1.27.2.18 2007/04/21 22:42:49 kennykb Exp $ */ #ifndef _TCLUNIXPORT @@ -95,6 +95,14 @@ EXTERN Tcl_WideUInt strtoull _ANSI_ARGS_((CONST char *string, # include <sys/select.h> #endif #include <sys/stat.h> + +#ifdef __CYGWIN__ +# define timezone _timezone + typedef long TIMEZONE_t; +#else /* !__CYGWIN__ */ + typedef int TIMEZONE_t; +#endif /* !__CYGWIN__ */ + #if TIME_WITH_SYS_TIME # include <sys/time.h> # include <time.h> |