From: Craig Newell Date: Tue, 5 Sep 2000 00:34:02 +0000 (+0000) Subject: * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af7f0fde0bb653e030a04524b65c1b78d2e253db;p=platform%2Fupstream%2Fgcc.git * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it. From-SVN: r36146 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 535d698..674253d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-09-04 Craig Newell + + * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it. + 2000-09-04 Andreas Schwab * Makefile.in (STAGESTUFF): Remove libgcc. diff --git a/gcc/gcc.c b/gcc/gcc.c index c5378c4..7281fd7 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -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\