summaryrefslogtreecommitdiff
path: root/gcc/c-incpath.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-02 22:09:29 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-02 22:09:29 +0000
commit143e0eb06064e62f53d77759f2fbf35164e43366 (patch)
tree13d164bdb3fddbd06f7d92954655a866aa8ca1c1 /gcc/c-incpath.c
parent7602cd3657bf17e219d51fc744e1234df74871bd (diff)
downloadgcc-143e0eb06064e62f53d77759f2fbf35164e43366.tar.gz
* c-incpath.c (add_path): Fix sysp assignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63692 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-incpath.c')
-rw-r--r--gcc/c-incpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-incpath.c b/gcc/c-incpath.c
index b1c8de5cb3b..06c9346eded 100644
--- a/gcc/c-incpath.c
+++ b/gcc/c-incpath.c
@@ -309,7 +309,7 @@ add_path (path, chain, cxx_aware)
p->next = NULL;
p->name = path;
if (chain == SYSTEM || chain == AFTER)
- p->sysp = 1 + (cxx_aware != 0);
+ p->sysp = 1 + !cxx_aware;
else
p->sysp = 0;