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
This commit is contained in:
Łukasz Patron 2019-09-16 10:37:20 +02:00 committed by Max Weffers
parent 4140eb5ed8
commit f940b8f2e2
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -22,6 +22,9 @@
#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H
#include <stdint.h>
#pragma push_macro("PROPERTY_VALUE_MAX")
#include <cutils/properties.h>
#include <string.h>
@ -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