aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/sched.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-10-09 17:56:55 +0200
committerDavid 'Digit' Turner <digit@google.com>2010-10-09 17:56:55 +0200
commitbb5581ad6eec40041dab4e961149f7a8a3a83497 (patch)
tree5e8c1e583da643c37143adff205c6d794a0850c5 /libc/include/sched.h
parentaf00228b705b53165c132a22b30c2d6cbb9acd13 (diff)
downloadandroid_bionic-bb5581ad6eec40041dab4e961149f7a8a3a83497.tar.gz
android_bionic-bb5581ad6eec40041dab4e961149f7a8a3a83497.tar.bz2
android_bionic-bb5581ad6eec40041dab4e961149f7a8a3a83497.zip
libc: tag missing functions in system headers.
This matches recent changes in the NDK header. We enclose missing functions in #if 0 .. #endif blocks with a clear "MISSING" in comments in order to locate them later. Change-Id: I87b3a62e777897e75c9243360fb0a82bcc53d9fb
Diffstat (limited to 'libc/include/sched.h')
-rw-r--r--libc/include/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/sched.h b/libc/include/sched.h
index 33b9ad684..e70247005 100644
--- a/libc/include/sched.h
+++ b/libc/include/sched.h
@@ -69,7 +69,7 @@ extern int sched_rr_get_interval(pid_t pid, struct timespec *tp);
#define CLONE_CHILD_SETTID 0x01000000
#define CLONE_STOPPED 0x02000000
-#ifdef __GNU_SOURCE
+#ifdef _GNU_SOURCE
extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
#endif