From patchwork Fri Nov 24 21:43:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 24508 Received: (qmail 6641 invoked by alias); 24 Nov 2017 21:44:02 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 6626 invoked by uid 89); 24 Nov 2017 21:44:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Fri, 24 Nov 2017 21:43:54 +0000 From: Joseph Myers To: Subject: Define __STDC_WANT_IEC_60559_TYPES_EXT__ in tst-strtod-round-skeleton.c [committed] Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) 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. Committed. 2017-11-24 Joseph Myers * stdlib/tst-strtod-round-skeleton.c (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including headers. diff --git a/stdlib/tst-strtod-round-skeleton.c b/stdlib/tst-strtod-round-skeleton.c index 763c9ce..05d8a4c 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