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