Rewrite __PMT change so that it works with platforms defining __P but
authorUlrich Drepper <drepper@gcc.gnu.org>
Mon, 29 Jun 1998 18:06:26 +0000 (18:06 +0000)
committerUlrich Drepper <drepper@gcc.gnu.org>
Mon, 29 Jun 1998 18:06:26 +0000 (18:06 +0000)
not __PMT.

From-SVN: r20802

libio/libio.h

index 26ed915158baa246895d2ff8de2c6dccb9e98a92..b152874d1f616155bda5d24695de21b39c6f4638 100644 (file)
 # 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)