Rewrite __PMT change so that it works with platforms defining __P but

not __PMT.

From-SVN: r20802
This commit is contained in:
Ulrich Drepper 1998-06-29 18:06:26 +00:00
parent 4f70758f37
commit 9ca05bb14e
1 changed files with 8 additions and 2 deletions

View File

@ -60,14 +60,20 @@
# else
# ifdef __STDC__
# define __P(p) p
# define __PMT(p) p
# else
# define __P(p) ()
# define __PMT(p) ()
# endif
# endif
#endif /*!__P*/
#ifndef __PMT
# ifdef __STDC__
# define __PMT(p) p
# else
# define __PMT(p) ()
# endif
#endif /*!__P*/
/* For backward compatibility */
#ifndef _PARAMS
# define _PARAMS(protos) __P(protos)