[GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID] and [HAVE_SETGID].

Every system has those, and configure doesn't check for them.
This commit is contained in:
Roland McGrath 1994-05-21 20:28:10 +00:00
parent 491d66a916
commit e72213687f

4
misc.c
View file

@ -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