diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-01-13 13:21:32 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-01-13 13:21:32 +0000 |
commit | c1883b77595e416c8693a60fb370a6b78d4aadf5 (patch) | |
tree | 0b51bb0faa5da84e08e6e11a014a4d3965d81e3c /os | |
parent | cc9ea9cdb6fc4e5d61d78d163650fca58a16bae8 (diff) | |
download | ChibiOS-c1883b77595e416c8693a60fb370a6b78d4aadf5.tar.gz ChibiOS-c1883b77595e416c8693a60fb370a6b78d4aadf5.tar.bz2 ChibiOS-c1883b77595e416c8693a60fb370a6b78d4aadf5.zip |
Fixed bug #814.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10044 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/various/lwip_bindings/arch/cc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/various/lwip_bindings/arch/cc.h b/os/various/lwip_bindings/arch/cc.h index eb47666dd..18c2b3635 100644 --- a/os/various/lwip_bindings/arch/cc.h +++ b/os/various/lwip_bindings/arch/cc.h @@ -68,7 +68,10 @@ typedef uint32_t mem_ptr_t; osalSysHalt(x); \
}
+#ifndef BYTE_ORDER
#define BYTE_ORDER LITTLE_ENDIAN
+#endif
+
#define LWIP_PROVIDE_ERRNO
#endif /* __CC_H__ */
|