lwip, wpa_supplicant: use endianness macros from libc if possible

This commit is contained in:
Ivan Grokhotkov
2019-03-19 19:58:42 +08:00
parent 068b700786
commit 1d0bffb20a
3 changed files with 11 additions and 0 deletions

View File

@@ -41,7 +41,9 @@
#include "arch/sys_arch.h"
#ifndef BYTE_ORDER
#define BYTE_ORDER LITTLE_ENDIAN
#endif // BYTE_ORDER
typedef uint8_t u8_t;
typedef int8_t s8_t;