summaryrefslogtreecommitdiff
path: root/libc/misc/fnmatch
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-19 02:09:48 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-19 02:09:48 +0200
commit7aa9c2486c2d85a8de6204ab3734f457d450cdb6 (patch)
tree7ce42796e9613af1c50ffe8676f4bf5f85d44b27 /libc/misc/fnmatch
parent93f8a2e834eed69aff7ef3be8c2baba14bab0658 (diff)
remove a few more empty #if/#endif pairs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/misc/fnmatch')
-rw-r--r--libc/misc/fnmatch/fnmatch.c7
1 files changed, 3 insertions, 4 deletions
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