diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | stdlib/longlong.h | 9 |
2 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,8 @@ 1999-06-21 Ulrich Drepper <drepper@cygnus.com> + * stdlib/longlong.h: Provide __P definition if not already + defined. + * include/wchar.h: Use __gnuc_va_list not va_list in prototype. 1999-06-18 Thorsten Kukuk <kukuk@suse.de> diff --git a/stdlib/longlong.h b/stdlib/longlong.h index 37ea646b34..397188eb4d 100644 --- a/stdlib/longlong.h +++ b/stdlib/longlong.h @@ -42,6 +42,15 @@ #define __MPN(x) __##x #endif +#ifndef __P +# if defined __GNUC__ || (defined (__STDC__) && __STDC__) \ + || defined (__cplusplus) +# define __P(args) args +# else +# define __P(args) () +# endif +#endif + /* Define auxiliary asm macros. 1) umul_ppmm(high_prod, low_prod, multipler, multiplicand) multiplies two |