projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f70758
)
Rewrite __PMT change so that it works with platforms defining __P but
author
Ulrich Drepper
<drepper@gcc.gnu.org>
Mon, 29 Jun 1998 18:06:26 +0000
(18:06 +0000)
committer
Ulrich Drepper
<drepper@gcc.gnu.org>
Mon, 29 Jun 1998 18:06:26 +0000
(18:06 +0000)
not __PMT.
From-SVN: r20802
libio/libio.h
patch
|
blob
|
history
diff --git
a/libio/libio.h
b/libio/libio.h
index 26ed915158baa246895d2ff8de2c6dccb9e98a92..b152874d1f616155bda5d24695de21b39c6f4638 100644
(file)
--- a/
libio/libio.h
+++ b/
libio/libio.h
@@
-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)