diff options
author | Jim Meyering <jim@meyering.net> | 1998-01-03 11:56:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-01-03 11:56:58 +0000 |
commit | 5c35327df848ac044ffd47cf38c077978d9140d5 (patch) | |
tree | c972ca5757c635d89d0b807c0b04269dd0efc244 | |
parent | ce90c371f7e617a7e25da8a86f51d53c1c300d67 (diff) | |
download | gnulib-5c35327df848ac044ffd47cf38c077978d9140d5.tar.gz |
Guard PARAMS-enabling definition with
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent.
-rw-r--r-- | lib/getdate.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/getdate.h b/lib/getdate.h index db2dba4b7f..7d97c6817d 100644 --- 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> |