summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-13 15:38:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-13 15:38:35 +0000
commit802a568f77b9a372537e4216b2a7cbb203958a87 (patch)
treea31c7160aef56063ee1769fe271432580e6bc3d2 /include/media/stagefright
parentc84eb736fd051c37e1d7e8585d14612713388a58 (diff)
parentec8930f218fa0c1acde631543b40b5a0b28bfe1f (diff)
downloadframeworks_av-802a568f77b9a372537e4216b2a7cbb203958a87.zip
frameworks_av-802a568f77b9a372537e4216b2a7cbb203958a87.tar.gz
frameworks_av-802a568f77b9a372537e4216b2a7cbb203958a87.tar.bz2
Merge "Fix warning while building mediaserver"
Diffstat (limited to 'include/media/stagefright')
-rw-r--r--include/media/stagefright/foundation/ABase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/foundation/ABase.h b/include/media/stagefright/foundation/ABase.h
index 72e3d87..ef1e010 100644
--- a/include/media/stagefright/foundation/ABase.h
+++ b/include/media/stagefright/foundation/ABase.h
@@ -18,7 +18,9 @@
#define A_BASE_H_
+#ifndef ARRAY_SIZE
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
+#endif
#define DISALLOW_EVIL_CONSTRUCTORS(name) \
name(const name &); \