diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-04-16 15:47:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:34 -0700 |
| commit | 5eee86be00b6b209f445984e4ea69cea29848d18 (patch) | |
| tree | b0aa3e1837980436709088eb0f0569cfe0b634a8 /pre-process.c | |
| parent | 110f0b399eb030635c8f28f844ef949274f2bfd4 (diff) | |
| download | sparse-dev-5eee86be00b6b209f445984e4ea69cea29848d18.tar.gz | |
Make the pre-processor search both 3.2.1 and 3.2.2 gcc header files.
Diffstat (limited to 'pre-process.c')
| -rw-r--r-- | pre-process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pre-process.c b/pre-process.c index cdeed956..1ad78aa1 100644 --- a/pre-process.c +++ b/pre-process.c @@ -36,6 +36,7 @@ static int elif_ignore[MAXNEST]; #define INCLUDEPATHS 32 const char *includepath[INCLUDEPATHS+1] = { "/usr/lib/gcc-lib/i386-redhat-linux/3.2.1/include/", + "/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/", "/usr/include/", "/usr/local/include/", "", @@ -792,7 +793,7 @@ static int handle_nostdinc(struct stream *stream, struct token *head, struct tok { if (false_nesting) return 1; - includepath[1] = NULL; + includepath[2] = NULL; return 1; } |
