From 73f4e8b2afa9c6e827734c8c7a7b182079ab9eec Mon Sep 17 00:00:00 2001 From: Xia Xiaotian Date: Fri, 25 Nov 2016 16:56:09 +0800 Subject: [PATCH] wpa2 enterprise: change the type macro to platform default macro ESP_PLATFORM. --- components/wpa_supplicant/component.mk | 2 +- components/wpa_supplicant/include/wpa/common.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/wpa_supplicant/component.mk b/components/wpa_supplicant/component.mk index 7d52655011..daac5ca70e 100644 --- a/components/wpa_supplicant/component.mk +++ b/components/wpa_supplicant/component.mk @@ -1,4 +1,4 @@ COMPONENT_ADD_INCLUDEDIRS := include port/include 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 diff --git a/components/wpa_supplicant/include/wpa/common.h b/components/wpa_supplicant/include/wpa/common.h index 05868cc258..2e6012f868 100644 --- a/components/wpa_supplicant/include/wpa/common.h +++ b/components/wpa_supplicant/include/wpa/common.h @@ -20,7 +20,7 @@ #include "os.h" /* Define platform specific variable type macros */ -#if defined(__ESP32_SUPP_TYPE__) +#if defined(ESP_PLATFORM) #include typedef uint64_t u64; typedef uint32_t u32; @@ -30,7 +30,7 @@ typedef int64_t s64; typedef int32_t s32; typedef int16_t s16; typedef int8_t s8; -#endif /*__ESP32_SUPP_TYPE__*/ +#endif /*ESP_PLATFORM*/ #if defined(__XTENSA__) #include -- 2.40.0