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
32e69e1d
Commit
32e69e1d
authored
Apr 04, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
(This used to test __SVR4_2__.) From-SVN: r3998
parent
3971e415
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
gcc/ginclude/varargs.h
+6
-5
No files found.
gcc/ginclude/varargs.h
View file @
32e69e1d
...
@@ -122,16 +122,17 @@ typedef void *__gnuc_va_list;
...
@@ -122,16 +122,17 @@ typedef void *__gnuc_va_list;
#undef _VA_LIST
#undef _VA_LIST
#endif
#endif
#ifdef __SVR4_2__
#ifdef __svr4__
/* SVR4.2 uses _VA_LIST for an internal alias for va_list,
/* SVR4.2 uses _VA_LIST for an internal alias for va_list,
so we must avoid testing it and setting it here. */
so we must avoid testing it and setting it here.
SVR4 uses _VA_LIST as a flag in stdarg.h, but we should
have no conflict with that. */
#ifndef _VA_LIST_
#ifndef _VA_LIST_
#define _VA_LIST_
#define _VA_LIST_
typedef
__gnuc_va_list
va_list
;
typedef
__gnuc_va_list
va_list
;
#endif
/* _VA_LIST_ */
#endif
/* _VA_LIST_ */
#else
/* not __
SVR4_2
__ */
#else
/* not __
svr4
__ */
/* The macro _VA_LIST_ is the same thing used by this file in Ultrix.
/* The macro _VA_LIST_ is the same thing used by this file in Ultrix.
But on BSD NET2 we must not test or define or undef it.
But on BSD NET2 we must not test or define or undef it.
...
@@ -152,7 +153,7 @@ typedef __gnuc_va_list va_list;
...
@@ -152,7 +153,7 @@ typedef __gnuc_va_list va_list;
#endif
/* not _VA_LIST */
#endif
/* not _VA_LIST */
#endif
/* not _VA_LIST_ */
#endif
/* not _VA_LIST_ */
#endif
/* not __
SVR4_2
__ */
#endif
/* not __
svr4
__ */
/* The next BSD release (if there is one) wants this symbol to be
/* The next BSD release (if there is one) wants this symbol to be
undefined instead of _VA_LIST_. */
undefined instead of _VA_LIST_. */
...
...
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