platform_bionic/libc/include
Dan Albert f66fa495a8 Add __ANDROID_NDK__ to identify using the NDK.
I've added some things like __ANDROID_MAJOR__ to an ndk-version.h, but
that is only in the NDK itself and so doesn't help the platform. Add
__ANDROID_NDK__ to identify that you're building for the NDK and not
the platform.

Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/407
Change-Id: I2d1f1c28e3764e4e658cf675b290b7a17253ee33
2017-07-26 14:27:43 -07:00
..
android Add __ANDROID_NDK__ to identify using the NDK. 2017-07-26 14:27:43 -07:00
arpa Update <arpa/*> from FreeBSD. 2017-07-05 16:03:59 -07:00
bits Use __RENAME_IF_FILE_OFFSET64 where possible. 2017-07-20 10:00:28 -07:00
net Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
netinet Add and use constants for the Android API levels. 2016-11-16 16:55:42 -08:00
netpacket
sys Use __RENAME_IF_FILE_OFFSET64 where possible. 2017-07-20 10:00:28 -07:00
alloca.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
ar.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
assert.h Stop #define'ing __func__ and __restrict. 2016-07-25 11:13:47 -07:00
byteswap.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
complex.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
cpio.h Add two missing POSIX constant-only headers. 2016-08-12 09:28:17 -07:00
ctype.h Add and use constants for the Android API levels. 2016-11-16 16:55:42 -08:00
dirent.h Fix <dirent.h> d_ino/d_off types. 2017-07-05 12:34:29 -07:00
dlfcn.h Add #defines for some key enums. 2017-06-15 15:12:29 -07:00
elf.h Restore ELF32_ST_INFO/ELF64_ST_INFO. 2017-04-30 22:56:10 -07:00
endian.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
err.h The err family allow null format strings. 2014-07-11 02:53:27 +00:00
errno.h Remove volatile from the __errno declaration. 2017-06-13 16:02:07 -07:00
error.h Make it possible to build bionic with -I instead of -isystem. 2016-07-22 13:12:53 -07:00
fcntl.h Use __RENAME_IF_FILE_OFFSET64 where possible. 2017-07-20 10:00:28 -07:00
features.h Move the meat of <features.h> into <sys/cdefs.h>. 2014-08-19 11:18:20 -07:00
fenv.h Add and use constants for the Android API levels. 2016-11-16 16:55:42 -08:00
fnmatch.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
fts.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
ftw.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
getopt.h Extract getopt and friends to <bits/getopt.h> 2016-04-07 18:01:59 -07:00
grp.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
ifaddrs.h Add versioning information to symbols. 2016-04-29 16:39:50 -07:00
inttypes.h Fix format macros for fast16 and fast32 int types. 2016-10-26 17:52:38 -07:00
langinfo.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
lastlog.h Fix various empty .h files in bionic. 2016-04-29 22:30:19 -07:00
libgen.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
limits.h Claim to have a POSIX shell and utilities. 2017-07-05 16:45:55 -07:00
link.h Make the _Unwind_Ptr declaration match clang's. 2017-04-21 19:52:21 +00:00
locale.h Provide fake definitions for libstdc++. 2016-09-08 16:13:28 -07:00
malloc.h Revert "Make mallopt available in the future." 2017-05-31 00:15:00 +00:00
math.h Revert "isnan and isinf aren't functions." 2017-03-30 17:18:31 -07:00
memory.h
mntent.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
netdb.h Document that our getnameinfo(3) prototype is unfixably wrong. 2016-08-16 15:05:57 -07:00
nl_types.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
paths.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
poll.h libc: add clang FORTIFY support 2017-02-09 15:49:32 -08:00
pthread.h Put back more legacy pthread APIs. 2017-06-22 12:52:17 -07:00
pty.h Add versioning information to symbols. 2016-04-29 16:39:50 -07:00
pwd.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
regex.h Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64. 2015-08-27 14:48:32 -07:00
resolv.h Remove #pragma GCC visibility. 2016-07-25 15:57:02 -07:00
sched.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
search.h Update header versions for NDK platform fixes. 2016-06-02 13:40:35 -07:00
semaphore.h POSIX says SEM_FAILED shall have type sem_t*. 2016-08-12 10:28:52 -07:00
setjmp.h Update header versions for NDK platform fixes. 2016-06-02 13:40:35 -07:00
signal.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
stdatomic.h Guard include of uchar.h in stdatomic.h 2016-08-04 18:22:12 +00:00
stdint.h Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
stdio.h Undo recent _FILE_OFFSET_BITS=64 changes. 2017-07-10 19:52:18 +00:00
stdio_ext.h Add versioning information to symbols. 2016-04-29 16:39:50 -07:00
stdlib.h The future passed part of <stdlib.h> by... 2017-07-10 11:51:00 -07:00
string.h Add version info for C++ versions of basename, strchrnul. 2017-06-30 13:21:25 -07:00
strings.h Fix ffs on x86 for old API levels. 2017-06-30 17:50:44 -07:00
syscall.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
sysexits.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
syslog.h versioner: refactor to use CompilerInstance directly. 2016-11-09 13:50:07 -08:00
tar.h Add two missing POSIX constant-only headers. 2016-08-12 09:28:17 -07:00
termio.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
termios.h Add legacy inlines for more termios stuff. 2017-02-23 11:09:32 -08:00
time.h Add and use constants for the Android API levels. 2016-11-16 16:55:42 -08:00
time64.h Remove the non-standard time64 stuff for LP64. 2014-05-05 17:14:02 -07:00
uchar.h Clean up <uchar.h> and <wctype.h> transitive includes. 2016-07-27 10:45:05 -07:00
ucontext.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
unistd.h Undo recent _FILE_OFFSET_BITS=64 changes. 2017-07-10 19:52:18 +00:00
utime.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
utmp.h Add versioning information to symbols. 2016-04-29 16:39:50 -07:00
wait.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
wchar.h Move a <wchar.h> implementation detail into the implementation. 2017-06-15 10:37:26 -07:00
wctype.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
xlocale.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00