From: Todd C. Miller Date: Thu, 7 Jul 1994 00:07:19 +0000 (+0000) Subject: define ansi-ish cpp os defines if non-ansi are defined for X-Git-Tag: SUDO_1_3_1~129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63bd80e137f00019626e0ab934786c501369cd6d;p=sudo define ansi-ish cpp os defines if non-ansi are defined for hpux & convex --- diff --git a/config.h.in b/config.h.in index 7fff07798..52757b639 100644 --- a/config.h.in +++ b/config.h.in @@ -31,6 +31,15 @@ # define __P(args) () #endif +/* New ANSI-style OS defs. */ +#if defined(hpux) && !defined(__hpux) +#define __hpux 1 +#endif /* hpux */ + +#if defined(convex) && !defined(__convex__) +#define __convex__ 1 +#endif /* convex */ + /* Define if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */