diff options
author | Dan Albert <danalbert@google.com> | 2016-09-21 01:08:44 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2016-09-21 01:08:44 -0700 |
commit | 495ec92605cb608730cc920ba5afe454860abf2b (patch) | |
tree | f5daaa0ceaa1e28183acd03e60ed936b23378d03 /libc/include/android/api-level.h | |
parent | 42743f1e9ebf0771fea41361e9424f58f8de1cde (diff) |
Add __ANDROID_API_FUTURE__.
Needed for checking conditions like `__ANDROID_API__ <
__ANDROID_API_FUTURE__` for providing inlines for things that have
not yet been included in any release.
Test: make checkbuild tests
Bug: None
Change-Id: Ibcddac5a538ede020a8cb65fca03194475121966
Diffstat (limited to 'libc/include/android/api-level.h')
-rw-r--r-- | libc/include/android/api-level.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/include/android/api-level.h b/libc/include/android/api-level.h index 001877b5d..6dd4c18aa 100644 --- a/libc/include/android/api-level.h +++ b/libc/include/android/api-level.h @@ -35,8 +35,12 @@ * Magic version number for a current development build, which has * not yet turned into an official release. */ +#ifndef __ANDROID_API_FUTURE__ +#define __ANDROID_API_FUTURE__ 10000 +#endif + #ifndef __ANDROID_API__ -#define __ANDROID_API__ 10000 +#define __ANDROID_API__ __ANDROID_API_FUTURE__ #endif #endif /* ANDROID_API_LEVEL_H */ |