Mercurial > hg > octave-kai > gnulib-hg
changeset 1194:d5be24a37d8d
Guard PARAMS-enabling definition with
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 03 Jan 1998 11:56:58 +0000 |
parents | d6ec9c17b5b9 |
children | d7bb2fd31990 |
files | lib/getdate.h |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/getdate.h +++ b/lib/getdate.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,13 +18,13 @@ # include <config.h> #endif -# ifndef PARAMS -# if defined (__GNUC__) || __STDC__ -# define PARAMS(args) args -# else -# define PARAMS(args) () -# endif +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(args) args +# else +# define PARAMS(args) () # endif +#endif #if defined (vms) # include <types.h>