summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-06 06:13:27 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-06 06:13:27 +0000
commitb91355a323a71df84d455c6da0a39d8f71645a42 (patch)
tree2c1e5181bc70a5c8d092ef9225a07ef01284e70a /gcc
parent0d249f4576621cba981fd70e53f3f60ee68b2171 (diff)
downloadgcc-b91355a323a71df84d455c6da0a39d8f71645a42.tar.gz
2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
* cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add. * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41140 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in1
-rw-r--r--gcc/cppdefault.c4
3 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c86f2da83fc..c6165632a63 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
+
+ * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
+ * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
+
2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
* cppfiles.c (open_file): Fail directories silently, but
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 7c1f8369f70..d405353278b 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1927,6 +1927,7 @@ PREPROCESSOR_DEFINES = \
-DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
-DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_alias)\" \
+ -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
-DLOCAL_INCLUDE_DIR=\"$(includedir)\" \
-DCROSS_INCLUDE_DIR=\"$(gcc_tooldir)/sys-include\" \
-DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\"
diff --git a/gcc/cppdefault.c b/gcc/cppdefault.c
index a51b05a7c57..328971ba901 100644
--- a/gcc/cppdefault.c
+++ b/gcc/cppdefault.c
@@ -39,6 +39,10 @@ const struct default_include cpp_include_defaults[]
/* Pick up GNU C++ target-dependent include files. */
{ GPLUSPLUS_TOOL_INCLUDE_DIR, "G++", 1, 1 },
#endif
+#ifdef GPLUSPLUS_BACKWARD_INCLUDE_DIR
+ /* Pick up GNU C++ backward and deprecated include files. */
+ { GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1 },
+#endif
#ifdef LOCAL_INCLUDE_DIR
/* /usr/local/include comes before the fixincluded header files. */
{ LOCAL_INCLUDE_DIR, 0, 0, 1 },