projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix build warning on OSX.
[awesomized/libmemcached]
/
libhashkit
/
algorithm.cc
diff --git
a/libhashkit/algorithm.cc
b/libhashkit/algorithm.cc
index de00081da56c648246fdb2a7f99a72ef93b6a514..37d1cb4347886f8b1ef3f086106aa64e879f81cc 100644
(file)
--- a/
libhashkit/algorithm.cc
+++ b/
libhashkit/algorithm.cc
@@
-38,19
+38,15
@@
uint32_t libhashkit_crc32(const char *key, size_t key_length)
return hashkit_crc32(key, key_length, NULL);
}
return hashkit_crc32(key, key_length, NULL);
}
-#ifdef HAVE_HSIEH_HASH
uint32_t libhashkit_hsieh(const char *key, size_t key_length)
{
return hashkit_hsieh(key, key_length, NULL);
}
uint32_t libhashkit_hsieh(const char *key, size_t key_length)
{
return hashkit_hsieh(key, key_length, NULL);
}
-#endif
-#ifdef HAVE_MURMUR_HASH
uint32_t libhashkit_murmur(const char *key, size_t key_length)
{
return hashkit_murmur(key, key_length, NULL);
}
uint32_t libhashkit_murmur(const char *key, size_t key_length)
{
return hashkit_murmur(key, key_length, NULL);
}
-#endif
uint32_t libhashkit_jenkins(const char *key, size_t key_length)
{
uint32_t libhashkit_jenkins(const char *key, size_t key_length)
{