summaryrefslogtreecommitdiff
path: root/bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'bluetooth')
-rw-r--r--bluetooth/bdroid_buildcfg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h
index 5eae134..f3af52b 100644
--- a/bluetooth/bdroid_buildcfg.h
+++ b/bluetooth/bdroid_buildcfg.h
@@ -18,6 +18,8 @@
#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H
+#pragma push_macro("PROPERTY_VALUE_MAX")
+
#include <cutils/properties.h>
#include <string.h>
@@ -47,5 +49,5 @@ static inline const char* getBTDefaultName()
#define BTM_DEF_LOCAL_NAME getBTDefaultName()
-#undef PROPERTY_VALUE_MAX
+#pragma pop_macro("PROPERTY_VALUE_MAX")
#endif