projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
tests: fix flaky regression_bug_1251482 test
[awesomized/libmemcached]
/
libhashkit
/
common.h
diff --git
a/libhashkit/common.h
b/libhashkit/common.h
index 5b0b8e0bb10f950db7895994f12a158522867398..d32d31bc3e845350b5bf1ce0bc6d742c1071a805 100644
(file)
--- a/
libhashkit/common.h
+++ b/
libhashkit/common.h
@@
-2,7
+2,7
@@
*
* HashKit library
*
*
* HashKit library
*
- * Copyright (C) 2011 Data Differential, http://datadifferential.com/
+ * Copyright (C) 2011
-2012
Data Differential, http://datadifferential.com/
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@
-37,7
+37,7
@@
#pragma once
#pragma once
-#include
<config.h>
+#include
"libhashkit/hashkitcon.h"
#include <assert.h>
#include <errno.h>
#include <assert.h>
#include <errno.h>
@@
-45,19
+45,24
@@
#include <stdlib.h>
#include <math.h>
#include <stdlib.h>
#include <math.h>
+#ifndef __WORDSIZE
+# ifdef __MINGW32__
+# define __WORDSIZE 32
+# endif
+#endif
+
#include <libhashkit-1.0/hashkit.h>
#include <libhashkit-1.0/hashkit.h>
-#include <libhashkit/is.h>
-#include <libhashkit/string.h>
-#include <libhashkit/aes.h>
+#include "libhashkit/algorithm.h"
+#include "libhashkit/is.h"
+#include "libhashkit/string.h"
+#include "libhashkit/aes.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-HASHKIT_LOCAL
void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
-HASHKIT_LOCAL
int update_continuum(hashkit_st *hashkit);
#ifdef __cplusplus
int update_continuum(hashkit_st *hashkit);
#ifdef __cplusplus