diff options
Diffstat (limited to 'libio')
-rw-r--r-- | libio/libio.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libio/libio.h b/libio/libio.h index 26ed915158b..b152874d1f6 100644 --- 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) |