about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-04 06:22:23 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-04 06:22:23 +0000
commit4572f6c2aa8c49315b8d18dac563a7323157c8e1 (patch)
tree93819640c52d169067fb0330bc59d03ea8c6b33a
parent22baad3c3de66e418e402585d6bc6322cba68a87 (diff)
downloadglibc-4572f6c2aa8c49315b8d18dac563a7323157c8e1.tar.gz
glibc-4572f6c2aa8c49315b8d18dac563a7323157c8e1.tar.xz
glibc-4572f6c2aa8c49315b8d18dac563a7323157c8e1.zip
Don't undef memchr.
-rw-r--r--sysdeps/generic/memrchr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/generic/memrchr.c b/sysdeps/generic/memrchr.c
index 4b9f92e3fe..c86625755b 100644
--- a/sysdeps/generic/memrchr.c
+++ b/sysdeps/generic/memrchr.c
@@ -46,13 +46,11 @@
 #define LONG_MAX_32_BITS 2147483647
 
 #ifndef LONG_MAX
-#define LONG_MAX LONG_MAX_32_BITS
+# define LONG_MAX LONG_MAX_32_BITS
 #endif
 
 #include <sys/types.h>
 
-#undef memchr
-
 
 /* Search no more than N bytes of S for C.  */
 __ptr_t