use __hpux not hpux

convex c2 stuff
This commit is contained in:
Todd C. Miller
1994-07-07 00:08:38 +00:00
parent 0148bcaf6b
commit 2b12703ae1

5
sudo.h
View File

@@ -292,6 +292,7 @@ typedef struct list {
#define PASSWORD_NOT_CORRECT 0x04
#define ALL_SYSTEMS_GO 0x00
#define NO_SUDOERS_FILE ( 0x05 | GLOBAL_PROBLEM )
#define GLOBAL_NO_AUTH_ENT ( 0x06 | GLOBAL_PROBLEM )
#undef TRUE
#define TRUE 0x01
@@ -360,8 +361,8 @@ extern char ** environ;
/*
* Emulate seteuid() for HP-UX
*/
#ifdef hpux
#ifdef __hpux
# define seteuid(__EUID) (setresuid((uid_t)-1, __EUID, (uid_t)-1))
#endif /* hpux */
#endif /* __hpux */
#endif /* _SUDO_SUDO_H */