diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-22 01:51:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-22 01:51:34 +0000 |
commit | 1bfe52d8ef77de5e86d493d7544a7bb82de74829 (patch) | |
tree | e0835ba1cc5d591a0c4f4ed0254dedc291fbce96 | |
parent | c1f2c438877eba86640b972de6f1fba4238490f1 (diff) |
update MMU ifdef check
-rw-r--r-- | test/signal/sigchld.c | 2 | ||||
-rw-r--r-- | test/test-skeleton.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/signal/sigchld.c b/test/signal/sigchld.c index 10a631eda..60ddf4b3c 100644 --- a/test/signal/sigchld.c +++ b/test/signal/sigchld.c @@ -14,7 +14,7 @@ void test_handler(int signo) } -#ifdef __UCLIBC_HAS_MMU__ +#ifdef __ARCH_USE_MMU__ int main(void) { diff --git a/test/test-skeleton.c b/test/test-skeleton.c index 6b7a09164..22fdd8f98 100644 --- a/test/test-skeleton.c +++ b/test/test-skeleton.c @@ -31,6 +31,7 @@ #include <sys/wait.h> #include <sys/param.h> #include <time.h> +#include <features.h> /* The test function is normally called `do_test' and it is called with argc and argv as the arguments. We nevertheless provide the @@ -287,7 +288,7 @@ main (int argc, char *argv[]) - set up the timer - fork and execute the function. */ -#ifdef __UCLIBC_HAS_MMU__ +#if defined __ARCH_USE_MMU__ || ! defined __UCLIBC__ pid = fork (); if (pid == 0) { |