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
6c68c4ab
Commit
6c68c4ab
authored
Apr 25, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recognize __FreeBSD__.
From-SVN: r7153
parent
157735e8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
gcc/ginclude/stdarg.h
+2
-2
gcc/ginclude/stddef.h
+1
-1
gcc/ginclude/varargs.h
+2
-2
No files found.
gcc/ginclude/stdarg.h
View file @
6c68c4ab
...
@@ -142,13 +142,13 @@ typedef __gnuc_va_list va_list;
...
@@ -142,13 +142,13 @@ typedef __gnuc_va_list va_list;
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.
(Note that the comments in NET 2's ansi.h
(Note that the comments in NET 2's ansi.h
are incorrect for _VA_LIST_--see stdio.h!) */
are incorrect for _VA_LIST_--see stdio.h!) */
#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__)
#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__)
|| defined (__FreeBSD__)
/* The macro _VA_LIST is used in SCO Unix 3.2. */
/* The macro _VA_LIST is used in SCO Unix 3.2. */
#ifndef _VA_LIST
#ifndef _VA_LIST
/* The macro _VA_LIST_T_H is used in the Bull dpx2 */
/* The macro _VA_LIST_T_H is used in the Bull dpx2 */
#ifndef _VA_LIST_T_H
#ifndef _VA_LIST_T_H
#define _VA_LIST_T_H
#define _VA_LIST_T_H
#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__))
#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__)
|| defined (__FreeBSD__)
)
#define _VA_LIST_
#define _VA_LIST_
#endif
#endif
#define _VA_LIST
#define _VA_LIST
...
...
gcc/ginclude/stddef.h
View file @
6c68c4ab
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
one less case to deal with in the following. */
one less case to deal with in the following. */
#if defined (__BSD_NET2__) || defined (____386BSD____)
#if defined (__BSD_NET2__) || defined (____386BSD____)
|| defined (__FreeBSD__)
#include <machine/ansi.h>
#include <machine/ansi.h>
#endif
#endif
...
...
gcc/ginclude/varargs.h
View file @
6c68c4ab
...
@@ -155,13 +155,13 @@ typedef __gnuc_va_list va_list;
...
@@ -155,13 +155,13 @@ typedef __gnuc_va_list va_list;
/* Michael Eriksson <mer@sics.se> at Thu Sep 30 11:00:57 1993:
/* Michael Eriksson <mer@sics.se> at Thu Sep 30 11:00:57 1993:
Sequent defines _VA_LIST_ in <machine/machtypes.h> to be the type to
Sequent defines _VA_LIST_ in <machine/machtypes.h> to be the type to
use for va_list (``typedef _VA_LIST_ va_list'') */
use for va_list (``typedef _VA_LIST_ va_list'') */
#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__)
#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__)
|| defined (__FreeBSD__)
/* The macro _VA_LIST is used in SCO Unix 3.2. */
/* The macro _VA_LIST is used in SCO Unix 3.2. */
#ifndef _VA_LIST
#ifndef _VA_LIST
/* The macro _VA_LIST_T_H is used in the Bull dpx2 */
/* The macro _VA_LIST_T_H is used in the Bull dpx2 */
#ifndef _VA_LIST_T_H
#ifndef _VA_LIST_T_H
#define _VA_LIST_T_H
#define _VA_LIST_T_H
#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__))
#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__)
|| defined (__FreeBSD__)
)
#define _VA_LIST_
#define _VA_LIST_
#endif
#endif
#define _VA_LIST
#define _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