]> granicus.if.org Git - sudo/commitdiff
use __hpux not hpux
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 Jul 1994 00:08:38 +0000 (00:08 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 Jul 1994 00:08:38 +0000 (00:08 +0000)
convex c2 stuff

sudo.h

diff --git a/sudo.h b/sudo.h
index fb41f2b0fcb8743ef9e38c5b2de0317f12f96448..de830e8e4d406c5c7a5217bf27a5518fb53ed79c 100644 (file)
--- a/sudo.h
+++ b/sudo.h
@@ -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 */