diff options
Diffstat (limited to 'libc/unistd')
-rw-r--r-- | libc/unistd/Makefile | 2 | ||||
-rw-r--r-- | libc/unistd/daemon.c | 2 | ||||
-rw-r--r-- | libc/unistd/exec.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile index 53ffb6a9c..290d71a52 100644 --- a/libc/unistd/Makefile +++ b/libc/unistd/Makefile @@ -27,7 +27,7 @@ CSRC= sleep.c usleep.c getpass.c sysconf.c getlogin.c \ fpathconf.c confstr.c pathconf.c swab.c usershell.c \ getsubopt.c -ifeq ($(strip $(UCLIBC_HAS_MMU)),y) +ifeq ($(strip $(ARCH_HAS_MMU)),y) CSRC += daemon.c else MOBJ1 += __exec_alloc.o diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c index d4c2e0448..91ae4056f 100644 --- a/libc/unistd/daemon.c +++ b/libc/unistd/daemon.c @@ -30,7 +30,7 @@ #include <unistd.h> /* Note that this file should not be compiled in - * unless __UCLIBC_HAS_MMU__ is defined */ + * unless __ARCH_HAS_MMU__ is defined */ int daemon( int nochdir, int noclose ) { diff --git a/libc/unistd/exec.c b/libc/unistd/exec.c index fa1eda2b9..666a8192b 100644 --- a/libc/unistd/exec.c +++ b/libc/unistd/exec.c @@ -41,7 +41,7 @@ extern char *__strchrnul(const char *s, int c); /**********************************************************************/ -#ifdef __UCLIBC_HAS_MMU__ +#ifdef __ARCH_HAS_MMU__ /* We have an MMU, so use alloca() to grab space for buffers and * arg lists. */ @@ -69,7 +69,7 @@ extern void __exec_free(void *ptr, size_t size); /**********************************************************************/ #ifdef L___exec_alloc -#ifndef __UCLIBC_HAS_MMU__ +#ifndef __ARCH_HAS_MMU__ void *__exec_alloc(size_t size) { |