c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into cpplib as it's a Standard...
authorNeil Booth <neil@gcc.gnu.org>
Sun, 11 May 2003 13:43:36 +0000 (13:43 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 11 May 2003 13:43:36 +0000 (13:43 +0000)
commit6e2701797a3dc551e6216c5febe182d771922ba5
tree7cab977994e83b118651dd8ede9739970a4c0152
parent8af992ea30b76cc71f3d57f90c005ed2d3671ff3
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
gcc/ChangeLog
gcc/c-cppbuiltin.c
gcc/c-opts.c
gcc/cppfiles.c
gcc/cppinit.c
gcc/cpplib.h
gcc/doc/cpp.texi
gcc/doc/cppopts.texi
gcc/fix-header.c