From: Roland McGrath Date: Sat, 21 May 1994 20:28:10 +0000 (+0000) Subject: [GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID] and [HAVE_SETGID]. X-Git-Tag: 3.71^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e72213687fd2f48959a612f1c45d619fcf00e4b6;p=platform%2Fupstream%2Fmake.git [GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID] and [HAVE_SETGID]. Every system has those, and configure doesn't check for them. --- diff --git a/misc.c b/misc.c index 0b8c3cd..fa16c89 100644 --- a/misc.c +++ b/misc.c @@ -461,10 +461,10 @@ dep_name (dep) setregid functions, but they don't work as in BSD and only the POSIX.1 way works. */ -#if defined (HAVE_SETREUID) && defined (HAVE_SETUID) +#ifndef HAVE_SETREUID #undef HAVE_SETREUID #endif -#if defined (HAVE_SETREGID) && defined (HAVE_SETGID) +#ifndef HAVE_SETREGID #undef HAVE_SETREGID #endif