projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merged trunk.
[m6w6/libmemcached]
/
libmemcached
/
byteorder.c
diff --git
a/libmemcached/byteorder.c
b/libmemcached/byteorder.c
index 5b1cf88bc8d0090a2ac9840783791c9cec861a20..24f8e8c6e88e1e13be7595325dd51c7f8b266c76 100644
(file)
--- a/
libmemcached/byteorder.c
+++ b/
libmemcached/byteorder.c
@@
-3,7
+3,7
@@
/* Byte swap a 64-bit number. */
static inline uint64_t swap64(uint64_t in)
{
/* Byte swap a 64-bit number. */
static inline uint64_t swap64(uint64_t in)
{
-#ifndef
BYTEORDER_BIG_
ENDIAN
+#ifndef
WORDS_BIG
ENDIAN
/* Little endian, flip the bytes around until someone makes a faster/better
* way to do this. */
uint64_t rv= 0;
/* Little endian, flip the bytes around until someone makes a faster/better
* way to do this. */
uint64_t rv= 0;