diff options
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__ */
|