diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-15 15:43:42 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-15 15:43:42 +0000 |
commit | 16f2a716d9132d7624473f0c91d63045f25a7bc9 (patch) | |
tree | 61c7a3e450f8f4d8891ed1e993fc6c3483f72fcf /gnu/usr.bin/gcc/fix-header.c | |
parent | 5b8bc6cfc27b80e98588790026b0fe51f3044268 (diff) |
Merge of GCC 2.7.2.1
Diffstat (limited to 'gnu/usr.bin/gcc/fix-header.c')
-rw-r--r-- | gnu/usr.bin/gcc/fix-header.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/fix-header.c b/gnu/usr.bin/gcc/fix-header.c index 53e5c06052a..7059d12e102 100644 --- a/gnu/usr.bin/gcc/fix-header.c +++ b/gnu/usr.bin/gcc/fix-header.c @@ -531,7 +531,18 @@ read_scan_file (in_fname, argc, argv) push_parse_file (&scan_in, in_fname); CPP_OPTIONS (&scan_in)->no_line_commands = 1; +#ifdef FIXPROTO_INIT + /* Some targets may assume special definitions (for example + OSF header files assume __LANGUAGE_C__). These macros + are normally passed to cpplib by gcc - but we here invoke + cpplib directly, without going through gcc. + Handle these and other target-dependent initializations here. */ + FIXPROTO_INIT (&scan_in); +#endif + + /* Actually (pre-)process the header file. */ scan_decls (&scan_in, argc, argv); + check_macro_names (&scan_in, include_entry->required); check_macro_names (&scan_in, include_entry->extra); |