summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-05-21 20:28:10 +0000
committerRoland McGrath <roland@redhat.com>1994-05-21 20:28:10 +0000
commite72213687fd2f48959a612f1c45d619fcf00e4b6 (patch)
tree7510d7786e4031d9258f669af8c2bf11a68db5fe
parent491d66a916af7e99fe5bcf7140697aa35bade0c2 (diff)
downloadgunmake-e72213687fd2f48959a612f1c45d619fcf00e4b6.tar.gz
[GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID] and [HAVE_SETGID].3.71
Every system has those, and configure doesn't check for them.
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
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