]> git.sur5r.net Git - openldap/commitdiff
ITS#6351 only declare memrchr if not defined by platform
authorHoward Chu <hyc@openldap.org>
Sun, 15 Nov 2009 21:41:41 +0000 (21:41 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 15 Nov 2009 21:41:41 +0000 (21:41 +0000)
include/ac/string.h

index 09e2e3112660781d8e345e194eba90945ff8b38a..00c79d34a11e8c7302b1756d0f42869043737fa7 100644 (file)
@@ -98,8 +98,8 @@ int (strncasecmp)();
 #ifndef HAVE_MEMRCHR
 #undef memrchr
 #define memrchr lutil_memrchr
-#endif /* ! HAVE_MEMRCHR */
 void * memrchr(const void *b, int c, size_t len);
+#endif /* ! HAVE_MEMRCHR */
 
 #define STRLENOF(s)    (sizeof(s)-1)