From f940b8f2e2738a657727af866b683cee735510b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Patron?= Date: Mon, 16 Sep 2019 10:37:20 +0200 Subject: [PATCH] sdm660-common: bluetooth: Push and pop PROPERTY_VALUE_MAX in buildcfg header This deals with the PROPERTY_VALUE_MAX redefinition compilation issue. Change-Id: I34bb283512ca1a75c680af140846f16cccf0c645 --- bluetooth/bdroid_buildcfg.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h index 545648b8..312afe2b 100644 --- a/bluetooth/bdroid_buildcfg.h +++ b/bluetooth/bdroid_buildcfg.h @@ -22,6 +22,9 @@ #ifndef _BDROID_BUILDCFG_H #define _BDROID_BUILDCFG_H +#include +#pragma push_macro("PROPERTY_VALUE_MAX") + #include #include @@ -56,4 +59,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 +#pragma pop_macro("PROPERTY_VALUE_MAX") + #endif