From 7aa9c2486c2d85a8de6204ab3734f457d450cdb6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 19 Sep 2009 02:09:48 +0200 Subject: remove a few more empty #if/#endif pairs Signed-off-by: Denys Vlasenko --- libc/misc/fnmatch/fnmatch.c | 7 +++---- libc/misc/time/time.c | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'libc/misc') diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c index f069e5cea..d25619b34 100644 --- a/libc/misc/fnmatch/fnmatch.c +++ b/libc/misc/fnmatch/fnmatch.c @@ -340,10 +340,9 @@ is_char_class (const wchar_t *wcs) # include "fnmatch_loop.c" # endif -#ifdef __UCLIBC_HAS_WCHAR__ -#else -#undef MB_CUR_MAX -#define MB_CUR_MAX 1 +#ifndef __UCLIBC_HAS_WCHAR__ +# undef MB_CUR_MAX +# define MB_CUR_MAX 1 #endif int diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c index 05971389f..583c17aad 100644 --- a/libc/misc/time/time.c +++ b/libc/misc/time/time.c @@ -1172,8 +1172,7 @@ LOOP: i = 16 + 6; /* 0-fill, width = 4 */ } -#ifdef __UCLIBC_HAS_TM_EXTENSIONS__ -#else +#ifndef __UCLIBC_HAS_TM_EXTENSIONS__ __UCLIBC_MUTEX_UNLOCK(_time_tzlock); if (*p == 'Z') { goto OUTPUT; -- cgit v1.2.3