diff options
| author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-18 16:24:25 +0000 |
|---|---|---|
| committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-18 16:24:25 +0000 |
| commit | e4a299c28f24fdc849694e41746b5fb5fde28aa9 (patch) | |
| tree | eb46f6b7293df21ae3ace0e3cdf74c2b476b4d83 | |
| parent | 1f6ba023d85ddb8c1d72cbb26da2314311b40d87 (diff) | |
| download | ppe42-gcc-e4a299c28f24fdc849694e41746b5fb5fde28aa9.tar.gz ppe42-gcc-e4a299c28f24fdc849694e41746b5fb5fde28aa9.zip | |
* gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36489 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 8145f5fffb7..86567644ba4 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. diff --git a/gcc/gcc.c b/gcc/gcc.c index bdd354b6669..95cea0b6fae 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -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\ |

