Commit Graph

128 Commits

Author SHA1 Message Date
Richard Stallman
fda59a9a3f Test and define __INT_WCHAR_T_H.
From-SVN: r5085
1993-08-06 05:58:10 +00:00
Richard Stallman
7a0b14b8bc (_WCHAR_T_H): Test this and define this.
From-SVN: r4999
1993-07-27 07:10:41 +00:00
Richard Stallman
9e91edcefb Make var/stdargs compatible with apogee's acc.
(__gnuc_va_list): Replace __va_f and __va_r with __va_reg.
(__va_list, _SYS_INT_STDARG_H): New defines.
(va_arg): Corresponding changes.

From-SVN: r4894
1993-07-09 22:19:58 +00:00
Richard Stallman
176badaf8d entered into RCS
From-SVN: r4764
1993-06-27 19:36:53 +00:00
Richard Stallman
2b3989120d (atan2): For x <= 0, lump y == 0 with y > 0
to get the right result in 0, -1 case.

From-SVN: r4645
1993-06-07 19:43:10 +00:00
Richard Stallman
e38ba83aeb (size_t) [__GNUG__]: Don't typedef it if it's already defined as a macro.
From-SVN: r4549
1993-05-24 06:09:38 +00:00
Richard Stallman
6de4738425 [_ANSI_H_]: Handle __need_size_t and __need_wchar_t.
From-SVN: r4523
1993-05-20 23:17:53 +00:00
Richard Stallman
26afdb8e8d [_ANSI_H_]: Handle __need_size_t and __need_wchar-t.
From-SVN: r4520
1993-05-20 21:10:36 +00:00
Richard Stallman
8ddc1ce36d (va_dcl): Restore accidentally deleted __builtin_va_alist declaration.
From-SVN: r4508
1993-05-20 02:26:13 +00:00
Richard Stallman
51eeee3ed1 [__svr4__ __i860__]: Define _VA_LIST only if not defined already.
From-SVN: r4486
1993-05-17 17:56:32 +00:00
Richard Stallman
9dace10d1b [__svr4__ __i860__] (_VA_LIST): Do define.
From-SVN: r4479
1993-05-16 04:30:47 +00:00
Richard Stallman
348ab17b3d (va_arg) [__MIPSEB__]:
After incrementing, subtract the rounded size, not the size proper.

From-SVN: r4478
1993-05-16 04:15:14 +00:00
Richard Stallman
85b97c484e Add conditional against multiple inclusion.
From-SVN: r4477
1993-05-16 03:46:56 +00:00
Michael Meissner
03fbfefce4 Use __alignof__ instead of __alignof.
From-SVN: r4408
1993-05-10 15:51:47 +00:00
Jim Wilson
3c01f863ee (va_arg): Cast argument pointer to (char *).
From-SVN: r4039
1993-04-06 18:33:35 -07:00
Richard Stallman
b7dd0967b0 [__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
(This used to be if __SVR4_2__.)

From-SVN: r3999
1993-04-04 07:17:15 +00:00
Richard Stallman
32e69e1dc8 [__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
(This used to test __SVR4_2__.)

From-SVN: r3998
1993-04-04 07:16:41 +00:00
Richard Kenner
f18c857663 Major rework to agree with new calling sequence.
From-SVN: r3892
1993-03-27 08:35:43 -05:00
Richard Stallman
ade97c34b3 (memory.h): Use proper ANSI syntax in `#endif __memory_h__'.
From-SVN: r3870
1993-03-24 22:42:07 +00:00
Richard Stallman
d21a91217a Use va-clipper.h.
From-SVN: r3869
1993-03-24 22:41:53 +00:00
Richard Stallman
0756f25fac (struct __gnuc_va_list): Test __svr4__ like __SVR4__.
From-SVN: r3563
1993-02-27 20:26:38 +00:00
Richard Stallman
b6126bf1dc (_SYS_SIZE_T_H): Test this and define this.
From-SVN: r3548
1993-02-27 00:47:17 +00:00
Richard Stallman
61a2ac12b3 (_VA_LIST_T_H): Test and define this.
From-SVN: r3547
1993-02-27 00:47:05 +00:00
Jim Wilson
4cf82435af (va_start): If __GCC_NEW_VARARGS__ not defined, use old definition.
From-SVN: r3491
1993-02-18 17:25:28 -08:00
Jim Wilson
a36dc54839 (va_start): Rewrite to account for builtin_saveregs changes.
From-SVN: r3339
1993-01-25 12:25:43 -08:00
Jim Wilson
a55f13c621 Define away __extension__ if compiled by GCC v1.
From-SVN: r3022
1992-12-31 13:12:34 -08:00
Richard Stallman
6d68f08ee4 [__sequent__]: #undef _PTRDIFF_T_ at beginning, if defined.
From-SVN: r2932
1992-12-27 22:54:03 +00:00
Richard Kenner
028ea68770 entered into RCS
From-SVN: r2869
1992-12-12 17:52:24 -05:00
Richard Stallman
5153d9d693 (va_arg): Copy both definitions from gstdarg.h.
From-SVN: r2821
1992-11-30 23:07:11 +00:00
Richard Stallman
0cd3c247a3 (va_end): #undef before the declaration.
(va_arg): Alternative definition for big-endian machines.

From-SVN: r2820
1992-11-30 23:06:23 +00:00
Richard Stallman
3418a1da8b Fix prev change; test of _STDDEF_H was backwards.
From-SVN: r2775
1992-11-22 22:04:25 +00:00
Richard Stallman
5ce402b71d Don't test, define or undef _VA_LIST_ on NET 2 systems. Don't include ansi.h.
From-SVN: r2736
1992-11-10 15:27:21 +00:00
Richard Stallman
ca2ece1b45 [_ANSI_H_]: When undefing at the end, test _STDDEF_H, not __need_ptrdiff_t.
[__need_ptrdiff_t]: Don't undef _SIZE_T_ or _WCHAR_T_.

From-SVN: r2735
1992-11-10 15:26:10 +00:00
Richard Stallman
d58243d112 Find ansi.h in machine subdir.
From-SVN: r2703
1992-11-06 08:46:38 +00:00
Torbjorn Granlund
845127e685 (va_end): Handle like in other va-* files.
From-SVN: r2690
1992-11-04 15:09:20 +00:00
Richard Kenner
1515844084 *** empty log message ***
From-SVN: r2682
1992-11-03 08:04:57 -05:00
Richard Stallman
64c8c6a7ac (va_end): If already def as macro, don't declare.
From-SVN: r2680
1992-11-03 07:59:13 +00:00
Richard Stallman
28f50739a2 (va_end, anonymous enum): Don't declare if va_end already defined as macro.
From-SVN: r2679
1992-11-03 07:57:09 +00:00
Richard Stallman
6f8d2fbd0a (va_end): If already def as macro, don't declare.
From-SVN: r2678
1992-11-03 07:49:30 +00:00
Richard Stallman
563701f9dc [4.3 net 2]: If _VA_LIST_, is undefined then va_list is already declared.
From-SVN: r2671
1992-10-31 21:41:35 +00:00
Richard Stallman
d9832c78fc [4.3 net 2]: If _VA_LIST_, is undefined then va_list is already declared.
Use _ANSI_STDARG_H_, not _ANSI_STDARG_H.

From-SVN: r2670
1992-10-31 21:40:51 +00:00
Richard Stallman
6be564d070 [4.3 net 2]: If _SIZE_T_, etc. are undefined then type is already declared.
[4.3 net 2]: Force inclusion of ansi.h.
Undef _SIZE_T_, _PTRDIFF_T_, _WCHAR_T_ at end.

From-SVN: r2669
1992-10-31 21:27:50 +00:00
Richard Stallman
36228d08f2 On Net 2 system, don't test, define or undef _VA_LIST_.
Use _ANSI_H_, __BSD_NET2__ and ____386BSD____ to test for this.

From-SVN: r2658
1992-10-30 09:38:54 +00:00
Richard Stallman
4c3a130a92 On Net 2 system, don't test, define or undef _VA_LIST_.
Use _ANSI_H_, __BSD_NET2__ and ____386BSD____ to test for this.

From-SVN: r2657
1992-10-30 09:21:34 +00:00
Richard Stallman
b394f6313d Treat _AIX and _M_UNIX like __svr4__.
From-SVN: r2598
1992-10-25 04:38:49 +00:00
Richard Stallman
6ed0be929c Check and define _ANSI_STDARG_H along with _STDARG_H.
From-SVN: r2547
1992-10-21 22:56:02 +00:00
Richard Stallman
eae92d827e (va_list) [__SVR4_2__]: Don't set or test _VA_LIST.
From-SVN: r2500
1992-10-17 07:39:31 +00:00
Richard Stallman
8328559dec Do nothing if _ANSI_STDDEF_H already defined.
From-SVN: r2497
1992-10-17 04:41:39 +00:00
Richard Stallman
7dea1d59ea [__NeXT__]: Define _VA_LIST_ if _ANSI_STDARG_H_ was
defined; then define _ANSI_STDARG_H_.

From-SVN: r2470
1992-10-15 08:08:16 +00:00
Richard Stallman
cac47212eb (_ANSI_STDDEF_H): Define, along with _STDDEF_H.
From-SVN: r2469
1992-10-15 08:05:45 +00:00