From da4ac496992d8e06d03dbbb91b26b60ae0589dd6 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 15 Sep 2019 00:45:36 +0200 Subject: [PATCH] =?UTF-8?q?sm6250-common:=20bluetooth:=20Push=C3=97pop=20P?= =?UTF-8?q?ROPERTY=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/include/bdroid_buildcfg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bluetooth/include/bdroid_buildcfg.h b/bluetooth/include/bdroid_buildcfg.h index 93724d6..8fe4885 100644 --- a/bluetooth/include/bdroid_buildcfg.h +++ b/bluetooth/include/bdroid_buildcfg.h @@ -23,6 +23,8 @@ #ifndef _BDROID_BUILDCFG_H #define _BDROID_BUILDCFG_H +#pragma push_macro("PROPERTY_VALUE_MAX") + #include #include @@ -54,7 +56,6 @@ static inline const char *BtmGetDefaultName() } #define BTM_DEF_LOCAL_NAME BtmGetDefaultName() -#undef PROPERTY_VALUE_MAX // Disables read remote device feature #define MAX_ACL_CONNECTIONS 16 #define MAX_L2CAP_CHANNELS 16 @@ -63,4 +64,7 @@ static inline const char *BtmGetDefaultName() #define BT_CLEAN_TURN_ON_DISABLED 1 // Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec #define AVDT_NUM_SEPS 12 + +#pragma pop_macro("PROPERTY_VALUE_MAX") + #endif