From e1dd105c0a8c27693ded168675165deddeb2521c Mon Sep 17 00:00:00 2001 From: Tim Van Holder Date: Fri, 11 Jan 2002 15:27:54 +0000 Subject: [PATCH] * src/system.h: Use canonical definition for PARAMS (avoids clash with macro from hash.h). --- src/system.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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" -- 2.47.2