* gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.

From-SVN: r36146
This commit is contained in:
Craig Newell 2000-09-05 00:34:02 +00:00 committed by Jason Merrill
parent 9d40a6660e
commit af7f0fde0b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-09-04 Craig Newell <CraigN@ieee.org>
* gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
2000-09-04 Andreas Schwab <schwab@suse.de>
* Makefile.in (STAGESTUFF): Remove libgcc.

View File

@ -564,7 +564,7 @@ static const char *cpp_options =
%{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\
%c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\
%{ffast-math:-D__FAST_MATH__}\
%{fshort-wchar:-D__WCHAR_TYPE__=short\\ unsigned\\ int}\
%{fshort-wchar:-U__WCHAR_TYPE__ -D__WCHAR_TYPE__=short\\ unsigned\\ int}\
%{fshow-column} %{fno-show-column}\
%{fleading-underscore} %{fno-leading-underscore}\
%{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z %i\