diff options
author | David 'Digit' Turner <digit@google.com> | 2010-12-06 12:05:11 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-12-06 12:05:11 +0100 |
commit | 23d24394e72715ddf580726655c8ba3fbcf11bfe (patch) | |
tree | 66d28b315a0891c1ea5e99e870ca03e511d3186c /libc/docs | |
parent | 9962cef7c6ba20bcb4d4f5e6a4c923aa335d9107 (diff) | |
download | bionic-23d24394e72715ddf580726655c8ba3fbcf11bfe.zip bionic-23d24394e72715ddf580726655c8ba3fbcf11bfe.tar.gz bionic-23d24394e72715ddf580726655c8ba3fbcf11bfe.tar.bz2 |
libc: Add <android/api-level.h>
Add a new header that defines __ANDROID_API__ as a constant integer
corresponding to the current native API level. This header is included
by <sys/cdefs.h>
Change-Id: Ib4774e247b395991266245815a24292afc919848
NOTE: This header is already provided by the NDK's platform headers.
for levels 3 to 9.
Diffstat (limited to 'libc/docs')
-rw-r--r-- | libc/docs/CHANGES.TXT | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libc/docs/CHANGES.TXT b/libc/docs/CHANGES.TXT index 0eab879..bc641f4 100644 --- a/libc/docs/CHANGES.TXT +++ b/libc/docs/CHANGES.TXT @@ -1,7 +1,16 @@ Bionic ChangeLog: ----------------- -Differences between current and Android 2.2: +Differences between current and Android 2.3: + +- <android/api-level.h>: Added new header to define __ANDROID_API__ to + a constant integer corresponding to the native API level. This header + also exists in the NDK's platform headers. + +- <sys/cdefs.h>: Include <android/api-level.h> + +------------------------------------------------------------------------------- +Differences between Android 2.3 and Android 2.2: - <pthread.h>: Add reader/writer locks implementation. Add sanity checking to pthread_mutex_destroy() (e.g. a locked mutex will return |