summaryrefslogtreecommitdiffstats
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-11 13:43:36 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-11 13:43:36 +0000
commit4a3ce7dbb037038951bfd1930d7757cad529be55 (patch)
tree7cab977994e83b118651dd8ede9739970a4c0152 /gcc/fix-header.c
parent25fe8c76c8c8102925d5de01e5cc56ad75f90ac4 (diff)
downloadppe42-gcc-4a3ce7dbb037038951bfd1930d7757cad529be55.tar.gz
ppe42-gcc-4a3ce7dbb037038951bfd1930d7757cad529be55.zip
* c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into
cpplib as it's a Standard Predefined Macro. * c-opts.c (finish_options): Pass flag_hosted to cpp_init_builtins. * cppinit.c (_cpp_init_builtins): Take HOSTED. Define __STDC_HOSTED__ appropriately. * cpplib.h (_cpp_init_builtins): Update. * fix-header.c (read_scan_file): Update. * doc/cpp.texi, doc/cppopts.texi: Update documentation. * cppfiles.c (find_or_create_entry): Preserve errno. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66688 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index f76cbd146a0..c34d3c3e3be 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -636,7 +636,7 @@ read_scan_file (in_fname, argc, argv)
exit (FATAL_EXIT_CODE);
cpp_change_file (scan_in, LC_RENAME, "<built-in>");
- cpp_init_builtins (scan_in);
+ cpp_init_builtins (scan_in, true);
cpp_change_file (scan_in, LC_RENAME, in_fname);
/* Process switches after builtins so -D can override them. */
OpenPOWER on IntegriCloud