Allow macros prefixed with FLT128 in include/float.h
commit8fd31014315921b4107de171d14b091dbe443226
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Fri, 2 Jun 2017 00:48:15 +0000 (1 21:48 -0300)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Mon, 12 Jun 2017 17:48:53 +0000 (12 14:48 -0300)
tree8191f019a70eb7b7d1c89d891f22ad3b9dac340b
parent7d641c411d475fc609edce8df12c4b2918b29fdb
Allow macros prefixed with FLT128 in include/float.h

TS 18661-3 specifies that macros prefixed with FLTN_ can be defined in
float.h, only if __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro
before the inclusion of float.h.  Since GCC 7.0, these macros are provided
under this condition, however, for older versions of GCC, these macros are
not provided at all.  This patch allows the definitions of such macros in
include/float.h for older compilers, if the condition above is met, and
even if _ISOMAC is defined.

* include/float.h: Allow the definition of macros prefixed with
FLT128 even if _ISOMAC is defined, but provided that
__STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
ChangeLog
include/float.h