diff options
author | Dan Albert <danalbert@google.com> | 2015-01-28 18:16:08 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-01-29 17:30:40 -0800 |
commit | 466dbe444446da0a8729ae9ac7294f54276e29d7 (patch) | |
tree | 6930e91366bb16c0b12197dbf9efd18b458d2eaf /libc/include/errno.h | |
parent | 3780aba6352affc7d2dcdad0737cb4254448fcae (diff) | |
download | bionic-466dbe444446da0a8729ae9ac7294f54276e29d7.zip bionic-466dbe444446da0a8729ae9ac7294f54276e29d7.tar.gz bionic-466dbe444446da0a8729ae9ac7294f54276e29d7.tar.bz2 |
Put back inline definitions if using an old API.
All these inlines were turned in to out of line definitions in L.
This brings us a step closer to being able to just use the current
bionic headers for the NDK, rather than having many old versions of
them.
Change-Id: Ie010bc727d78d3742abc577c70f6578db2e68625
Diffstat (limited to 'libc/include/errno.h')
-rw-r--r-- | libc/include/errno.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/errno.h b/libc/include/errno.h index 1a36b7a..82f4b42 100644 --- a/libc/include/errno.h +++ b/libc/include/errno.h @@ -46,6 +46,10 @@ extern volatile int* __errno(void) __pure2; /* a macro expanding to the errno l-value */ #define errno (*__errno()) +#if __ANDROID_API__ < 21 +#include <android/legacy_errno_inlines.h> +#endif + __END_DECLS #endif /* _ERRNO_H */ |