Mercurial > hg > octave-kai > gnulib-hg
diff lib/xalloc.h @ 1170:8de2d981b46f
Use PARAMS, not __P.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 21 Dec 1997 11:22:51 +0000 (1997-12-21) |
parents | 03a03edf4361 |
children | 394e749157f3 |
line wrap: on
line diff
--- a/lib/xalloc.h +++ b/lib/xalloc.h @@ -1,8 +1,9 @@ -#undef PARAMS -#if defined (__STDC__) && __STDC__ -# define PARAMS(Args) Args -#else -# define PARAMS(Args) () +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif #endif /* Exit value when the requested amount of memory is not available.