]> granicus.if.org Git - sudo/commitdiff
added __P
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Jun 1994 21:40:06 +0000 (21:40 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Jun 1994 21:40:06 +0000 (21:40 +0000)
config.h.in

index 1ebf287f9120fe76b5babd370b32503bf4419eca..f50a8a6c454261e7d52cf7905d7a773f4b4ae9a7 100644 (file)
  *             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.  */