David Edelsohn <edelsohn@gnu.org>
David Edelsohn <edelsohn@gnu.org> * ginclude/stdarg.h (__va_rounded_size): Use long type for rounding on AIX. * ginclude/varargs.h: Likewise. From-SVN: r26837
This commit is contained in:
parent
62a1403df3
commit
fdc829c7fa
@ -1,3 +1,9 @@
|
||||
Sat May 8 01:51:50 1999 David Edelsohn <edelsohn@gnu.org>
|
||||
|
||||
* ginclude/stdarg.h (__va_rounded_size): Use long type for
|
||||
rounding on AIX.
|
||||
* ginclude/varargs.h: Likewise.
|
||||
|
||||
Sat May 8 01:47:20 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
||||
|
||||
* invoke.texi: Remove duplicates in the description of -d
|
||||
|
@ -84,6 +84,9 @@ typedef void *__gnuc_va_list;
|
||||
#if defined(sysV68)
|
||||
#define __va_rounded_size(TYPE) \
|
||||
(((sizeof (TYPE) + sizeof (short) - 1) / sizeof (short)) * sizeof (short))
|
||||
#elif defined(_AIX)
|
||||
#define __va_rounded_size(TYPE) \
|
||||
(((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
|
||||
#else
|
||||
#define __va_rounded_size(TYPE) \
|
||||
(((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
|
||||
|
@ -113,6 +113,9 @@ typedef void *__gnuc_va_list;
|
||||
#if defined(sysV68)
|
||||
#define __va_rounded_size(TYPE) \
|
||||
(((sizeof (TYPE) + sizeof (short) - 1) / sizeof (short)) * sizeof (short))
|
||||
#elif defined(_AIX)
|
||||
#define __va_rounded_size(TYPE) \
|
||||
(((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
|
||||
#else
|
||||
#define __va_rounded_size(TYPE) \
|
||||
(((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
|
||||
|
Loading…
Reference in New Issue
Block a user