diff options
author | Glenn Kasten <gkasten@google.com> | 2015-03-13 15:38:23 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-03-13 15:38:35 +0000 |
commit | 802a568f77b9a372537e4216b2a7cbb203958a87 (patch) | |
tree | a31c7160aef56063ee1769fe271432580e6bc3d2 /include | |
parent | c84eb736fd051c37e1d7e8585d14612713388a58 (diff) | |
parent | ec8930f218fa0c1acde631543b40b5a0b28bfe1f (diff) | |
download | frameworks_av-802a568f77b9a372537e4216b2a7cbb203958a87.zip frameworks_av-802a568f77b9a372537e4216b2a7cbb203958a87.tar.gz frameworks_av-802a568f77b9a372537e4216b2a7cbb203958a87.tar.bz2 |
Merge "Fix warning while building mediaserver"
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/foundation/ABase.h | 2 |
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 &); \ |