From 338237994ac93ca58f6024ef0f7932ab770735d1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 16 Jan 2004 13:43:30 +0000 Subject: s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g --- libc/unistd/Makefile | 2 +- libc/unistd/daemon.c | 2 +- libc/unistd/exec.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/unistd') 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 /* 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) { -- cgit v1.2.3