X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Finclude%2Fcompat.h;h=b24d096535e5eb937957c1da3d080dc73668b329;hb=0d4f151374efb1972361c40b6624bf4fd0e3fcaa;hp=31a9760c5a0f6e88fe045aa15ff6014296024648;hpb=395be9a8fb85d172dcbb06826aed8b5b29ceeac2;p=oweals%2Fgnunet.git diff --git a/src/include/compat.h b/src/include/compat.h index 31a9760c5..b24d09653 100644 --- a/src/include/compat.h +++ b/src/include/compat.h @@ -44,8 +44,9 @@ void* GN_memrchr_ (const void *s, int c, size_t n); - +#ifndef HAVE_MEMRCHR #define memrchr(s,c,n) GN_memrchr_(s,c,n) +#endif #ifdef __cplusplus }