From fed3b3e2c2fe33569daf757a007b3394cb9ac814 Mon Sep 17 00:00:00 2001 From: davygrvy Date: Wed, 27 Aug 2003 19:23:59 +0000 Subject: 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__. --- compat/strftime.c | 8 ++++---- 1 file 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 @@ -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. -- cgit v0.12