Commit 9ca05bb1 by Ulrich Drepper

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

not __PMT.

From-SVN: r20802
parent 4f70758f
...@@ -60,14 +60,20 @@ ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment