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
c1770192
Commit
c1770192
authored
Jan 10, 2002
by
Nicola Pero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the __OBJC__ macro.
From-SVN: r48724
parent
3987b9db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
gcc/doc/cpp.texi
+5
-0
No files found.
gcc/doc/cpp.texi
View file @
c1770192
...
...
@@ -1893,6 +1893,11 @@ calculate a single number, then compare that against a threshold:
@noindent
Many
people
find
this
form
easier
to
understand
.
@item
__OBJC__
This
macro
is
defined
,
with
value
1
,
when
the
Objective
-
C
compiler
is
in
use
.
You
can
use
@code{
__OBJC__
}
to
test
whether
a
header
is
compiled
by
a
C
compiler
or
a
Objective
-
C
compiler
.
@item
__GNUG__
The
GNU
C
++
compiler
defines
this
.
Testing
it
is
equivalent
to
testing
@code{@w{
(
__GNUC__
&&
__cplusplus
)
}}
.
...
...
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