mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
wpa2 enterprise: change the type macro to platform default macro ESP_PLATFORM.
This commit is contained in:
parent
1818af1c3e
commit
73f4e8b2af
@ -1,4 +1,4 @@
|
|||||||
COMPONENT_ADD_INCLUDEDIRS := include port/include
|
COMPONENT_ADD_INCLUDEDIRS := include port/include
|
||||||
COMPONENT_SRCDIRS := src/crypto port
|
COMPONENT_SRCDIRS := src/crypto port
|
||||||
|
|
||||||
CFLAGS += -DEMBEDDED_SUPP -D__ets__ -Wno-strict-aliasing -D__ESP32_SUPP_TYPE__
|
CFLAGS += -DEMBEDDED_SUPP -D__ets__ -Wno-strict-aliasing
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "os.h"
|
#include "os.h"
|
||||||
|
|
||||||
/* Define platform specific variable type macros */
|
/* Define platform specific variable type macros */
|
||||||
#if defined(__ESP32_SUPP_TYPE__)
|
#if defined(ESP_PLATFORM)
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
typedef uint64_t u64;
|
typedef uint64_t u64;
|
||||||
typedef uint32_t u32;
|
typedef uint32_t u32;
|
||||||
@ -30,7 +30,7 @@ typedef int64_t s64;
|
|||||||
typedef int32_t s32;
|
typedef int32_t s32;
|
||||||
typedef int16_t s16;
|
typedef int16_t s16;
|
||||||
typedef int8_t s8;
|
typedef int8_t s8;
|
||||||
#endif /*__ESP32_SUPP_TYPE__*/
|
#endif /*ESP_PLATFORM*/
|
||||||
|
|
||||||
#if defined(__XTENSA__)
|
#if defined(__XTENSA__)
|
||||||
#include <machine/endian.h>
|
#include <machine/endian.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user