projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03b7f62
)
-fix
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 7 Dec 2011 08:51:16 +0000
(08:51 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 7 Dec 2011 08:51:16 +0000
(08:51 +0000)
src/include/gnunet_common.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_common.h
b/src/include/gnunet_common.h
index f57c18cb7bfe7cf49709e1fdf3aee80ef4b9a647..665697a976ed4e382dd7a0485d6be369d4eaa7f5 100644
(file)
--- a/
src/include/gnunet_common.h
+++ b/
src/include/gnunet_common.h
@@
-85,6
+85,7
@@
# define GNUNET_htole64(x) (x)
# define GNUNET_be64toh(x) __bswap_64 (x)
# define GNUNET_le64toh(x) (x)
+#endif
# if __BYTE_ORDER == __BIG_ENDIAN
# define GNUNET_htobe16(x) (x)
# define GNUNET_htole16(x) __bswap_16 (x)
@@
-100,11
+101,11
@@
# define GNUNET_htole64(x) __bswap_64 (x)
# define GNUNET_be64toh(x) (x)
# define GNUNET_le64toh(x) __bswap_64 (x)
-# endif
#endif
+
/**
* gcc-ism to get packed structs.
*/