From: Todd C. Miller Date: Tue, 7 Jun 1994 21:40:06 +0000 (+0000) Subject: added __P X-Git-Tag: SUDO_1_3_1~159 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dce131798754a354fc6a017e1fa24e3922c4ade1;p=sudo added __P --- diff --git a/config.h.in b/config.h.in index 1ebf287f9..f50a8a6c4 100644 --- a/config.h.in +++ b/config.h.in @@ -23,6 +23,14 @@ * NOT using configure. */ +/* Deal with ansi stuff reasonably. */ +#undef __P +#if defined (__cplusplus) || defined (__STDC__) +# define __P(args) args +#else +# define __P(args) () +#endif + /* Define if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */