aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorNeil Booth <neil@gcc.gnu.org>2003-05-11 13:43:36 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-05-11 13:43:36 +0000
commit6e2701797a3dc551e6216c5febe182d771922ba5 (patch)
tree7cab977994e83b118651dd8ede9739970a4c0152 /gcc/fix-header.c
parent8af992ea30b76cc71f3d57f90c005ed2d3671ff3 (diff)
downloadgcc-6e2701797a3dc551e6216c5febe182d771922ba5.zip
gcc-6e2701797a3dc551e6216c5febe182d771922ba5.tar.gz
gcc-6e2701797a3dc551e6216c5febe182d771922ba5.tar.bz2
c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into cpplib as it's a Standard Predefined Macro.
* 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. From-SVN: r66688
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 f76cbd1..c34d3c3 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. */