mirror of git://gcc.gnu.org/git/gcc.git
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
|
# else
|
||||||
# ifdef __STDC__
|
# ifdef __STDC__
|
||||||
# define __P(p) p
|
# define __P(p) p
|
||||||
# define __PMT(p) p
|
|
||||||
# else
|
# else
|
||||||
# define __P(p) ()
|
# define __P(p) ()
|
||||||
# define __PMT(p) ()
|
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif /*!__P*/
|
#endif /*!__P*/
|
||||||
|
|
||||||
|
#ifndef __PMT
|
||||||
|
# ifdef __STDC__
|
||||||
|
# define __PMT(p) p
|
||||||
|
# else
|
||||||
|
# define __PMT(p) ()
|
||||||
|
# endif
|
||||||
|
#endif /*!__P*/
|
||||||
|
|
||||||
/* For backward compatibility */
|
/* For backward compatibility */
|
||||||
#ifndef _PARAMS
|
#ifndef _PARAMS
|
||||||
# define _PARAMS(protos) __P(protos)
|
# define _PARAMS(protos) __P(protos)
|
||||||
|
|
Loading…
Reference in New Issue