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:
3a62826
)
-ugh
author
Christian Grothoff
<christian@grothoff.org>
Mon, 30 Jan 2012 23:55:22 +0000
(23:55 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 30 Jan 2012 23:55:22 +0000
(23:55 +0000)
src/include/gnunet_common.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_common.h
b/src/include/gnunet_common.h
index d934c109e14db7b299c58ae92c5cfcda401f69fd..7e6d20b157b9923876f48d0a17a2a0ef7501c10e 100644
(file)
--- a/
src/include/gnunet_common.h
+++ b/
src/include/gnunet_common.h
@@
-70,10
+70,18
@@
#ifndef __BYTE_ORDER
#ifdef _BYTE_ORDER
#define __BYTE_ORDER _BYTE_ORDER
-#define __LITTLE_ENDIAN _LITTLE_ENDIAN
+#endif
+#endif
+#ifndef __BIG_ENDIAN
+#ifdef _BIG_ENDIAN
#define __BIG_ENDIAN _BIG_ENDIAN
#endif
#endif
+#ifndef __LITTLE_ENDIAN
+#ifdef _LITTLE_ENDIAN
+#define __LITTLE_ENDIAN _LITTLE_ENDIAN
+#endif
+#endif
/**
* Endian operations