From d6f63486ec88f57e1e9dea6adb5bf08697de09af Mon Sep 17 00:00:00 2001 From: Arthur David Olson Date: Tue, 3 Jan 1995 11:15:24 -0500 Subject: [PATCH] simplified #if SCCS-file: strftime.c SCCS-SID: 7.35 --- strftime.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/strftime.c b/strftime.c index 7e07ed9..64728d4 100644 --- a/strftime.c +++ b/strftime.c @@ -35,9 +35,9 @@ static const char sccsid[] = "@(#)strftime.c 5.4 (Berkeley) 3/14/89"; #include "tzfile.h" #include "fcntl.h" -#if HAVE_SETLOCALE - 0 +#if HAVE_SETLOCALE #include "locale.h" -#endif /* HAVE_SETLOCALE - 0 */ +#endif /* HAVE_SETLOCALE */ struct lc_time_T { const char * mon[12]; @@ -472,14 +472,14 @@ _loc P((void)) */ if (localebuf.mon[0]) return &localebuf; -#if HAVE_SETLOCALE - 0 +#if HAVE_SETLOCALE name = setlocale(LC_TIME, (char *) NULL); -#endif /* HAVE_SETLOCALE - 0 */ -#if !(HAVE_SETLOCALE - 0) +#endif /* HAVE_SETLOCALE */ +#if !HAVE_SETLOCALE if ((name = getenv("LC_ALL")) == NULL || *name == '\0') if ((name = getenv(lc_time)) == NULL || *name == '\0') name = getenv("LANG"); -#endif /* !(HAVE_SETLOCALE - 0) */ +#endif /* !HAVE_SETLOCALE */ if (name == NULL || *name == '\0') goto no_locale; /*