diff options
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 d27b96b..c36b038 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 |