diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/uthash/uthash.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/uthash/uthash.h b/contrib/uthash/uthash.h index 797c21c31..824bb2a76 100644 --- a/contrib/uthash/uthash.h +++ b/contrib/uthash/uthash.h @@ -592,7 +592,9 @@ do { \ #endif /* HASH_USING_NO_STRICT_ALIASING */ /* key comparison function; return 0 if keys equal */ -#define HASH_KEYCMP(a,b,len) memcmp(a,b,len) +#ifndef HASH_KEYCMP +#define HASH_KEYCMP(a,b,len) memcmp(a,b,len) +#endif /* iterate over items in a known bucket to find desired item */ #define HASH_FIND_IN_BKT(tbl,hh,head,keyptr,keylen_in,out) \ |