Browse Source

refine BYTE_ORDER macro

xools 8 years ago
parent
commit
8be3552036
1 changed files with 4 additions and 1 deletions
  1. 4 1
      components/net/lwip-2.0.2/src/lwipopts.h

+ 4 - 1
components/net/lwip-2.0.2/src/lwipopts.h

@@ -39,7 +39,10 @@
 #define LWIP_HAVE_LOOPIF            0
 
 #define LWIP_PLATFORM_BYTESWAP      0
-//#define BYTE_ORDER                  LITTLE_ENDIAN
+
+#ifndef BYTE_ORDER
+#define BYTE_ORDER                  LITTLE_ENDIAN
+#endif
 
 /* #define RT_LWIP_DEBUG */