kill crufty AIX stuff
This commit is contained in:
10
compat.h
10
compat.h
@@ -131,16 +131,6 @@
|
|||||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
* Emulate seteuid() for AIX via setuidx() -- needed for some versions of AIX
|
|
||||||
*/
|
|
||||||
#ifdef _AIX
|
|
||||||
# include <sys/id.h>
|
|
||||||
# define seteuid(_EUID) (setuidx(ID_EFFECTIVE|ID_REAL, _EUID))
|
|
||||||
# undef HAVE_SETEUID
|
|
||||||
# define HAVE_SETEUID 1
|
|
||||||
#endif /* _AIX */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Emulate seteuid() for HP-UX via setresuid(2) and seteuid(2) for others.
|
* Emulate seteuid() for HP-UX via setresuid(2) and seteuid(2) for others.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user