aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bluetooth/bdroid_buildcfg.h5
1 files changed, 4 insertions, 1 deletions
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 <cutils/properties.h>
#include <string.h>
@@ -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