Explorar el Código

refine BYTE_ORDER macro

xools hace 8 años
padre
commit
8be3552036
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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 */