From 9d9dadd25278d7b75a8b6d7b7f2eb8f79d9c970d Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 13 Jan 1993 09:06:31 +0000 Subject: [PATCH] (include_defaults): Put GCC_INCLUDE_DIR just before the system dirs whose files are fixed. From-SVN: r3220 --- gcc/cccp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/cccp.c b/gcc/cccp.c index 1036414f865..dd2dca521a1 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -540,7 +540,6 @@ static struct default_include { char *fname; int cplusplus; } include_defaults_a = { /* Pick up GNU C++ specific include files. */ { GPLUSPLUS_INCLUDE_DIR, 1}, - { GCC_INCLUDE_DIR, 0}, { TOOL_INCLUDE_DIR, 0}, #ifdef CROSS_COMPILE /* For cross-compilation, this dir name is generated @@ -548,6 +547,9 @@ static struct default_include { char *fname; int cplusplus; } include_defaults_a { CROSS_INCLUDE_DIR, 0 }, #else /* not CROSS_COMPILE */ { LOCAL_INCLUDE_DIR, 0}, + /* This is the dir for fixincludes. Put it just before + the files that we fix. */ + { GCC_INCLUDE_DIR, 0}, /* Some systems have an extra dir of include files. */ #ifdef SYSTEM_INCLUDE_DIR { SYSTEM_INCLUDE_DIR, 0}, -- 2.30.2