aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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