* gcc.c (cpp_options): Add specs for __STDC_HOSTED__.

From-SVN: r36489
This commit is contained in:
Joseph Myers 2000-09-18 17:24:25 +01:00 committed by Joseph Myers
parent 2bd429f4df
commit 9231abf2ed
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
2000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
* optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.

View File

@ -564,6 +564,8 @@ static const char *cpp_options =
%c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\
%{ffast-math:-D__FAST_MATH__}\
%{fshort-wchar:-U__WCHAR_TYPE__ -D__WCHAR_TYPE__=short\\ unsigned\\ int}\
%{ffreestanding:-D__STDC_HOSTED__=0} %{fno-hosted:-D__STDC_HOSTED__=0}\
%{!ffreestanding:%{!fno-hosted:-D__STDC_HOSTED__=1}}\
%{fshow-column} %{fno-show-column}\
%{fleading-underscore} %{fno-leading-underscore}\
%{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{U*} %{D*} %{i*} %Z %i\