From 46453c3cdad9575f264a49f003a2a9f2847708c8 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 24 Nov 2017 21:42:55 +0000 Subject: Define __STDC_WANT_IEC_60559_TYPES_EXT__ in tst-strtod-round-skeleton.c. The tst-strtod-round-skeleton.c conditionals relating to handling of _Float64x require associated macros, which requires __STDC_WANT_IEC_60559_TYPES_EXT__ to be defined before is included if _Float64x is supported. This patch adds the necessary definition. Tested for x86_64, including in conjunction with _Float64x support patches. * stdlib/tst-strtod-round-skeleton.c (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including headers. --- stdlib/tst-strtod-round-skeleton.c | 1 + 1 file changed, 1 insertion(+) (limited to 'stdlib/tst-strtod-round-skeleton.c') diff --git a/stdlib/tst-strtod-round-skeleton.c b/stdlib/tst-strtod-round-skeleton.c index 763c9ce983..05d8a4c303 100644 --- a/stdlib/tst-strtod-round-skeleton.c +++ b/stdlib/tst-strtod-round-skeleton.c @@ -20,6 +20,7 @@ /* Defining _LIBC_TEST ensures long double math functions are declared in the headers. */ #define _LIBC_TEST 1 +#define __STDC_WANT_IEC_60559_TYPES_EXT__ #include #include #include -- cgit v1.2.3