diff options
author | dgp <dgp@users.sourceforge.net> | 2017-04-06 11:53:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-04-06 11:53:51 (GMT) |
commit | 5c21b9c7c7e7f6442ed8b09ce672495f60df5e87 (patch) | |
tree | 86ebc9565171af2239d110260fac0c03b487a852 /generic/tclStubInit.c | |
parent | 2b692ce09cb4adf6313d2aefeb9fa00093996484 (diff) | |
parent | 44de3dd8dad74f8031286f0750738099156cef0c (diff) | |
download | tcl-5c21b9c7c7e7f6442ed8b09ce672495f60df5e87.zip tcl-5c21b9c7c7e7f6442ed8b09ce672495f60df5e87.tar.gz tcl-5c21b9c7c7e7f6442ed8b09ce672495f60df5e87.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r-- | generic/tclStubInit.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index efa8643..d6c559b 100644 --- a/generic/tclStubInit.c +++ b/generic/tclStubInit.c @@ -287,17 +287,9 @@ static int formatInt(char *buffer, int n){ } #define TclFormatInt (int(*)(char *, long))formatInt -#endif +#endif /* TCL_WIDE_INT_IS_LONG */ -#else /* UNIX and MAC */ -# ifdef TCL_NO_DEPRECATED -# define TclpLocaltime_unix 0 -# define TclpGmtime_unix 0 -# else -# define TclpLocaltime_unix TclpLocaltime -# define TclpGmtime_unix TclpGmtime -# endif -#endif +#endif /* __CYGWIN__ */ #ifdef TCL_NO_DEPRECATED # define Tcl_SeekOld 0 @@ -351,9 +343,19 @@ static int formatInt(char *buffer, int n){ # define Tcl_EvalObj 0 # undef Tcl_GlobalEvalObj # define Tcl_GlobalEvalObj 0 +# undef TclpGetDate +# define TclpGetDate 0 +# undef TclpLocaltime +# define TclpLocaltime 0 +# undef TclpGmtime +# define TclpGmtime 0 +# define TclpLocaltime_unix 0 +# define TclpGmtime_unix 0 #else /* TCL_NO_DEPRECATED */ # define Tcl_SeekOld seekOld # define Tcl_TellOld tellOld +# define TclpLocaltime_unix TclpLocaltime +# define TclpGmtime_unix TclpGmtime static int seekOld( |