summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-01-16 13:43:30 +0000
committerEric Andersen <andersen@codepoet.org>2004-01-16 13:43:30 +0000
commit338237994ac93ca58f6024ef0f7932ab770735d1 (patch)
tree4417f2f77bc3224e09979303a45e2cd76c5d14be /libc/unistd
parent76374f68fbc07420cd459b0d0fae424895ea4141 (diff)
s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/Makefile2
-rw-r--r--libc/unistd/daemon.c2
-rw-r--r--libc/unistd/exec.c4
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)
{