Update all config.h usage.
[m6w6/libmemcached] / libhashkit / common.h
index 5b0b8e0bb10f950db7895994f12a158522867398..7affeb366a3f75ef138738f1ac82dbc36553cb63 100644 (file)
@@ -37,7 +37,7 @@
 
 #pragma once
 
-#include <config.h>
+#include <mem_config.h>
 
 #include <assert.h>
 #include <errno.h>
 #include <stdlib.h>
 #include <math.h>
 
+#ifndef __WORDSIZE
+# ifdef __MINGW32__
+#  define __WORDSIZE 32
+# endif
+#endif
+
 #include <libhashkit-1.0/hashkit.h>
 #include <libhashkit/is.h>
 #include <libhashkit/string.h>
 extern "C" {
 #endif
 
-HASHKIT_LOCAL
 void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
 
-HASHKIT_LOCAL
 int update_continuum(hashkit_st *hashkit);
 
 #ifdef __cplusplus