sm6250-common: bluetooth: Push×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:
LuK1337 2019-09-15 00:45:36 +02:00 committed by Demon000
parent 2932db6d60
commit da4ac49699

View File

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