From c65810eef911ec83bb7df54ada9e39116b5f499a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 15 Sep 2019 00:45:36 +0200 Subject: =?UTF-8?q?msm8996-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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bluetooth') diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h index 03c5115..c88bfe2 100644 --- a/bluetooth/bdroid_buildcfg.h +++ b/bluetooth/bdroid_buildcfg.h @@ -22,6 +22,8 @@ #ifndef _BDROID_BUILDCFG_H #define _BDROID_BUILDCFG_H +#pragma push_macro("PROPERTY_VALUE_MAX") + #include #include @@ -53,5 +55,6 @@ static inline const char* BtmGetDefaultName() /* Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec */ #define AVDT_NUM_SEPS 12 -#undef PROPERTY_VALUE_MAX +#pragma pop_macro("PROPERTY_VALUE_MAX") + #endif -- cgit v1.2.3