diff options
| author | xools <[email protected]> | 2017-04-22 22:42:36 -0700 |
|---|---|---|
| committer | xools <[email protected]> | 2017-04-22 22:42:36 -0700 |
| commit | 8be35520364039494457d300a5991c54dfcfe063 (patch) | |
| tree | e219248f8125ac77e95ee83ec26d57c4deb91843 /components | |
| parent | 3cad43fc05e6b7e3b1549df86315e3dee66eb0ba (diff) | |
refine BYTE_ORDER macro
Diffstat (limited to 'components')
| -rw-r--r-- | components/net/lwip-2.0.2/src/lwipopts.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/net/lwip-2.0.2/src/lwipopts.h b/components/net/lwip-2.0.2/src/lwipopts.h index 873691c414..8afc0b97c4 100644 --- a/components/net/lwip-2.0.2/src/lwipopts.h +++ b/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 */ |
