X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fcommon.h;h=7affeb366a3f75ef138738f1ac82dbc36553cb63;hb=23dca174eef8d846e3d4402729b57f6ded035e64;hp=5b0b8e0bb10f950db7895994f12a158522867398;hpb=9c93ec2ff2db02a85ec808947cb10b674c512d0c;p=m6w6%2Flibmemcached diff --git a/libhashkit/common.h b/libhashkit/common.h index 5b0b8e0b..7affeb36 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -37,7 +37,7 @@ #pragma once -#include +#include #include #include @@ -45,6 +45,12 @@ #include #include +#ifndef __WORDSIZE +# ifdef __MINGW32__ +# define __WORDSIZE 32 +# endif +#endif + #include #include #include @@ -54,10 +60,8 @@ 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