projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Update docs.
[m6w6/libmemcached]
/
libmemcached
/
byteorder.h
diff --git
a/libmemcached/byteorder.h
b/libmemcached/byteorder.h
index f43dbc435f8dc30eb29936b6d4b2f018bb8670e3..90a71ee400003932746d479137a225b7f26e5140 100644
(file)
--- a/
libmemcached/byteorder.h
+++ b/
libmemcached/byteorder.h
@@
-27,10
+27,13
@@
#include "libmemcached/memcached.h"
#ifndef HAVE_HTONLL
#include "libmemcached/memcached.h"
#ifndef HAVE_HTONLL
+#define ntohll(a) memcached_ntohll(a)
+#define htonll(a) memcached_htonll(a)
+
LIBMEMCACHED_LOCAL
LIBMEMCACHED_LOCAL
-uint64_t ntohll(uint64_t);
+uint64_t
memcached_
ntohll(uint64_t);
LIBMEMCACHED_LOCAL
LIBMEMCACHED_LOCAL
-uint64_t htonll(uint64_t);
+uint64_t
memcached_
htonll(uint64_t);
#endif
#ifdef linux
#endif
#ifdef linux