summaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-19 16:58:42 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-19 16:58:42 +0000
commit7bb1423a251afbd39495b8cb1a569bfa35ee6d12 (patch)
tree38553df380587fe24961797c2f96cb6127b90606 /gcc/ginclude
parent839803bdc2c48104df45461459291d6776c5be6f (diff)
downloadgcc-7bb1423a251afbd39495b8cb1a569bfa35ee6d12.tar.gz
* ginclude/float.h: Check that __STDC_WANT_DEC_FP__ is defined,
not that it is 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123974 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/float.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ginclude/float.h b/gcc/ginclude/float.h
index 1e16e8884d7..23ce8f42c91 100644
--- a/gcc/ginclude/float.h
+++ b/gcc/ginclude/float.h
@@ -160,7 +160,7 @@ Boston, MA 02110-1301, USA. */
#endif /* C99 */
-#if __STDC_WANT_DEC_FP__ == 1
+#ifdef __STDC_WANT_DEC_FP__
/* Draft Technical Report 24732, extension for decimal floating-point
arithmetic: Characteristic of decimal floating types <float.h>. */
@@ -236,6 +236,6 @@ Boston, MA 02110-1301, USA. */
#undef DECFLT_EVAL_METHOD
#define DECFLT_EVAL_METHOD __DECFLT_EVAL_METHOD__
-#endif /* __STDC_WANT_DEC_FP__ == 1 */
+#endif /* __STDC_WANT_DEC_FP__ */
#endif /* _FLOAT_H___ */