Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
eae92d82
Commit
eae92d82
authored
Oct 17, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(va_list) [__SVR4_2__]: Don't set or test _VA_LIST.
From-SVN: r2500
parent
03708085
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
gcc/ginclude/stdarg.h
+12
-0
gcc/ginclude/varargs.h
+13
-0
No files found.
gcc/ginclude/stdarg.h
View file @
eae92d82
...
...
@@ -94,6 +94,15 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#undef _BSD_VA_LIST
#endif
#ifdef __SVR4_2__
/* SVR4.2 uses _VA_LIST for an internal alias for va_list,
so we must avoid testing it and setting it here. */
#ifndef _VA_LIST_
#define _VA_LIST_
typedef
__gnuc_va_list
va_list
;
#endif
/* _VA_LIST_ */
#else
/* not __SVR4_2__ */
/* The macro _VA_LIST_ is the same thing used by this file in Ultrix. */
#ifndef _VA_LIST_
/* The macro _VA_LIST is used in SCO Unix 3.2. */
...
...
@@ -103,6 +112,9 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
typedef
__gnuc_va_list
va_list
;
#endif
/* _VA_LIST */
#endif
/* _VA_LIST_ */
#endif
/* not __SVR4_2__ */
#endif
/* _STDARG_H */
#endif
/* __GNUC__ */
...
...
gcc/ginclude/varargs.h
View file @
eae92d82
...
...
@@ -115,6 +115,17 @@ typedef void *__gnuc_va_list;
#undef _VA_LIST_
#endif
#ifdef __SVR4_2__
/* SVR4.2 uses _VA_LIST for an internal alias for va_list,
so we must avoid testing it and setting it here. */
#ifndef _VA_LIST_
#define _VA_LIST_
typedef
__gnuc_va_list
va_list
;
#endif
/* _VA_LIST_ */
#else
/* not __SVR4_2__ */
/* The macro _VA_LIST_ is the same thing used by this file in Ultrix. */
#ifndef _VA_LIST_
/* The macro _VA_LIST is used in SCO Unix 3.2. */
...
...
@@ -125,6 +136,8 @@ typedef __gnuc_va_list va_list;
#endif
/* _VA_LIST */
#endif
/* _VA_LIST_ */
#endif
/* not __SVR4_2__ */
/* I think that in 4.3bsd-net2 there is some need
to leave _VA_LIST_ undefined after. I don't know why. -- rms. */
#ifdef _ANSI_H_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment