diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2000-09-18 17:24:25 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2000-09-18 17:24:25 +0100 |
commit | 9231abf2edf23048f7f8e2e5028cc60f378e8de6 (patch) | |
tree | eb46f6b7293df21ae3ace0e3cdf74c2b476b4d83 | |
parent | 2bd429f4dfef45286aa7e81da1becf32e1c70e1f (diff) | |
download | gcc-9231abf2edf23048f7f8e2e5028cc60f378e8de6.zip gcc-9231abf2edf23048f7f8e2e5028cc60f378e8de6.tar.gz gcc-9231abf2edf23048f7f8e2e5028cc60f378e8de6.tar.bz2 |
* gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
From-SVN: r36489
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gcc.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8145f5f..8656764 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. @@ -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\ |