diff options
author | davygrvy <davygrvy@pobox.com> | 2003-08-27 19:23:59 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2003-08-27 19:23:59 (GMT) |
commit | fed3b3e2c2fe33569daf757a007b3394cb9ac814 (patch) | |
tree | c76d9297e2ff642f2f3d0fada859764601579eb3 /compat | |
parent | 06e0f28df8d23668165e0f2441b4828b0ab1fd4e (diff) | |
download | tcl-fed3b3e2c2fe33569daf757a007b3394cb9ac814.zip tcl-fed3b3e2c2fe33569daf757a007b3394cb9ac814.tar.gz tcl-fed3b3e2c2fe33569daf757a007b3394cb9ac814.tar.bz2 |
Changed Win32 platform #define from 'WIN32' to '__WIN32__' as this
is the correct one to use across the Tcl sources. Even though we do
force it in tcl.h, the true parent one is __WIN32__.
Diffstat (limited to 'compat')
-rw-r--r-- | compat/strftime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compat/strftime.c b/compat/strftime.c index 29e1ecf..6ac229c 100644 --- a/compat/strftime.c +++ b/compat/strftime.c @@ -10,7 +10,7 @@ * * Changes 2002 Copyright (c) 2002 ActiveState Corporation. * - * RCS: @(#) $Id: strftime.c,v 1.12 2003/08/27 19:06:54 davygrvy Exp $ + * RCS: @(#) $Id: strftime.c,v 1.13 2003/08/27 19:23:59 davygrvy Exp $ */ /* @@ -47,7 +47,7 @@ */ #if defined(LIBC_SCCS) -static char *rcsid = "$Id: strftime.c,v 1.12 2003/08/27 19:06:54 davygrvy Exp $"; +static char *rcsid = "$Id: strftime.c,v 1.13 2003/08/27 19:23:59 davygrvy Exp $"; #endif /* LIBC_SCCS */ #include <time.h> @@ -186,7 +186,7 @@ _fmt(format, t) const char *format; const struct tm *t; { -#ifdef WIN32 +#ifdef __WIN32__ #define BUF_SIZ 256 TCHAR buf[BUF_SIZ]; SYSTEMTIME syst; @@ -358,7 +358,7 @@ _fmt(format, t) if (!_conv(t->tm_wday, 1, '0')) return(0); continue; -#ifdef WIN32 +#ifdef __WIN32__ /* * To properly handle the localized time routines on Windows, * we must make use of the special localized calls. |