From 04fbd6533c3454c78523f8c90608eb6e52c74ff5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 21 Jun 1999 14:58:43 +0000 Subject: [PATCH] Update. * stdlib/longlong.h: Provide __P definition if not already defined. --- ChangeLog | 3 +++ stdlib/longlong.h | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 66a70e8ab9..d982a00885 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-06-21 Ulrich Drepper + * 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 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