Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add support for AArch32
[vpp.git]
/
vppinfra
/
vppinfra
/
byte_order.h
diff --git
a/vppinfra/vppinfra/byte_order.h
b/vppinfra/vppinfra/byte_order.h
index
9c55632
..
b2c26e5
100644
(file)
--- a/
vppinfra/vppinfra/byte_order.h
+++ b/
vppinfra/vppinfra/byte_order.h
@@
-40,7
+40,7
@@
#include <vppinfra/clib.h>
-#if
defined(__x86_64__) || defined(i386
)
+#if
(__BYTE_ORDER__)==( __ORDER_LITTLE_ENDIAN__
)
#define CLIB_ARCH_IS_BIG_ENDIAN (0)
#define CLIB_ARCH_IS_LITTLE_ENDIAN (1)
#else