diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-19 16:57:23 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-19 16:57:23 +0000 |
commit | 839803bdc2c48104df45461459291d6776c5be6f (patch) | |
tree | 5641adc01f424ab99fcd7281fa0633c4db960fc9 /gcc/c-cppbuiltin.c | |
parent | 8c3bf67d523f23dfe004d883f18a12f30296ced1 (diff) | |
download | gcc-839803bdc2c48104df45461459291d6776c5be6f.tar.gz |
* c-cppbuiltin.c (c_cpp_builtins): Remove definition of
__STDC_WANT_DEC_FP__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123973 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-cppbuiltin.c')
-rw-r--r-- | gcc/c-cppbuiltin.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c index d27b96bc6b3..c36b038bc77 100644 --- a/gcc/c-cppbuiltin.c +++ b/gcc/c-cppbuiltin.c @@ -606,16 +606,11 @@ c_cpp_builtins (cpp_reader *pfile) if (TARGET_DECLSPEC) builtin_define ("__declspec(x)=__attribute__((x))"); - /* Tell the user whether decimal floating point is supported, - and if it is supported, whether the alternate format (BID) - is used over the standard (DPD) format. */ - - if (ENABLE_DECIMAL_FLOAT) - { - cpp_define (pfile, "__STDC_WANT_DEC_FP__"); - if (ENABLE_DECIMAL_BID_FORMAT) - cpp_define (pfile, "__DECIMAL_BID_FORMAT__"); - } + /* If decimal floating point is supported, tell the user if the + alternate format (BID) is used instead of the standard (DPD) + format. */ + if (ENABLE_DECIMAL_FLOAT && ENABLE_DECIMAL_BID_FORMAT) + cpp_define (pfile, "__DECIMAL_BID_FORMAT__"); } /* Pass an object-like macro. If it doesn't lie in the user's |