X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fac%2Fstring.h;h=3d5725fd5e9de09b3bf01f9466e0268305cb0d55;hb=d68ec7b661c022c783813c66e0e6bc4ad6ff94a5;hp=239a421a0eb7d5e9e977f6d664a51e4ce9478127;hpb=97e4865b9183a0b39fe0ce8c0c2b8bbfe33b76a8;p=openldap diff --git a/include/ac/string.h b/include/ac/string.h index 239a421a0e..3d5725fd5e 100644 --- a/include/ac/string.h +++ b/include/ac/string.h @@ -89,6 +89,11 @@ int (strncasecmp)(); else AC_MEMCPY( (d), (s), (n) ); \ } while(0) +#ifdef NEED_MEMCMP_REPLACEMENT + int (lutil_memcmp)(const void *b1, const void *b2, size_t len); +#define memcmp lutil_memcmp +#endif + #define STRLENOF(s) (sizeof(s)-1) #endif /* _AC_STRING_H */