From: Tim Van Holder Date: Fri, 11 Jan 2002 15:27:54 +0000 (+0000) Subject: * src/system.h: Use canonical definition for PARAMS (avoids clash with macro from... X-Git-Tag: before-m4-back-end~20 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/e1dd105c0a8c27693ded168675165deddeb2521c * src/system.h: Use canonical definition for PARAMS (avoids clash with macro from hash.h). --- diff --git a/src/system.h b/src/system.h index abe02762..52b8cf7a 100644 --- a/src/system.h +++ b/src/system.h @@ -81,10 +81,12 @@ char *alloca (); # endif #endif -#if PROTOTYPES -# define PARAMS(p) p -#else -# define PARAMS(p) () +#ifndef PARAMS +# if defined PROTOTYPES || defined __STDC__ +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif #endif # include "xalloc.h"