projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix warnings
[awesomized/libmemcached]
/
src
/
libmemcached
/
byteorder.cc
diff --git
a/src/libmemcached/byteorder.cc
b/src/libmemcached/byteorder.cc
index a32232a94cc104a36ed6d58ce38c0456e4e225f5..c3867a5afe01cc83bae5674ccb76b7201dff7498 100644
(file)
--- a/
src/libmemcached/byteorder.cc
+++ b/
src/libmemcached/byteorder.cc
@@
-40,6
+40,7
@@
/* Byte swap a 64-bit number. */
#ifndef swap64
+# ifndef HAVE_HTONLL
static inline uint64_t swap64(uint64_t in)
{
#if !WORDS_BIGENDIAN
@@
-57,6
+58,7
@@
static inline uint64_t swap64(uint64_t in)
return in;
#endif // WORDS_BIGENDIAN
}
+# endif
#endif
#ifdef HAVE_SYS_TYPES_H