mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 15:00:55 +08:00
Rewrite __PMT change so that it works with platforms defining __P but
not __PMT. From-SVN: r20802
This commit is contained in:
parent
4f70758f37
commit
9ca05bb14e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user