From d30f4335d09e2cabfdfc7bebee72a1746c0bb6e5 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 15 Sep 2019 00:45:36 +0200 Subject: =?UTF-8?q?shinano-common:=20bluetooth:=20Push=C3=97pop=20PROPERTY?= =?UTF-8?q?=5FVALUE=5FMAX=20in=20buildcfg=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This deals with the PROPERTY_VALUE_MAX redefinition compilation issue. Change-Id: I34bb283512ca1a75c680af140846f16cccf0c645 --- bluetooth/bdroid_buildcfg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bluetooth') diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h index 5eae134..f3af52b 100644 --- a/bluetooth/bdroid_buildcfg.h +++ b/bluetooth/bdroid_buildcfg.h @@ -18,6 +18,8 @@ #ifndef _BDROID_BUILDCFG_H #define _BDROID_BUILDCFG_H +#pragma push_macro("PROPERTY_VALUE_MAX") + #include #include @@ -47,5 +49,5 @@ static inline const char* getBTDefaultName() #define BTM_DEF_LOCAL_NAME getBTDefaultName() -#undef PROPERTY_VALUE_MAX +#pragma pop_macro("PROPERTY_VALUE_MAX") #endif -- cgit v1.2.3