projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
ci: gh-actions: notify gitter
[awesomized/libmemcached]
/
example
/
byteorder.cc
diff --git
a/example/byteorder.cc
b/example/byteorder.cc
index fdfa0217d73c4024824bfdafe67c1d0068adc4c9..58ac5de7eb39f06d2fadb8f147603cd2588bbb43 100644
(file)
--- a/
example/byteorder.cc
+++ b/
example/byteorder.cc
@@
-1,5
+1,5
@@
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
- *
+ *
* Libmemcached library
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
* Libmemcached library
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
@@
-45,7
+45,7
@@
#ifndef swap64
static inline uint64_t swap64(uint64_t in)
{
#ifndef swap64
static inline uint64_t swap64(uint64_t in)
{
-#if
ndef
WORDS_BIGENDIAN
+#if
!
WORDS_BIGENDIAN
/* 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;