aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-05-05 22:12:23 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-05-05 22:12:23 -0400
commit9c906e812762de4f812d37b5cd372cb6496268a2 (patch)
tree8442dcb7ac27e18235cffc752dd56f262b554c05 /gcc/cpplib.c
parentb039b61b5f814ca2af7a472ab09e52f528a7f9aa (diff)
downloadgcc-9c906e812762de4f812d37b5cd372cb6496268a2.zip
gcc-9c906e812762de4f812d37b5cd372cb6496268a2.tar.gz
gcc-9c906e812762de4f812d37b5cd372cb6496268a2.tar.bz2
(default_include): For C++, also search OLD_GPLUSPLUS_INCLUDE_DIR.
From-SVN: r11931
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 0fdd991..3ed09fc 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -1,5 +1,5 @@
/* CPP Library.
- Copyright (C) 1986, 87, 89, 92, 93, 94, 1995 Free Software Foundation, Inc.
+ Copyright (C) 1986, 87, 89, 92-5, 1996 Free Software Foundation, Inc.
Written by Per Bothner, 1994-95.
Based on CCCP program by by Paul Rubin, June 1986
Adapted to ANSI C, Richard Stallman, Jan 1987
@@ -365,6 +365,7 @@ static struct default_include {
= {
/* Pick up GNU C++ specific include files. */
{ GPLUSPLUS_INCLUDE_DIR, 1, 1 },
+ { OLD_GPLUSPLUS_INCLUDE_DIR, 1, 1 },
#ifdef CROSS_COMPILE
/* This is the dir for fixincludes. Put it just before
the files that we fix. */