From: Joseph Myers Date: Wed, 28 Jun 2017 19:42:14 +0000 (+0000) Subject: Fix gen-tgmath-tests.py output for GCC 7 . X-Git-Tag: glibc-2.26~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa562680ced07441f3edaf986f35d12516d8b081;p=thirdparty%2Fglibc.git Fix gen-tgmath-tests.py output for GCC 7 . * math/gen-tgmath-tests.py (Tests.__init__): Define __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file. --- diff --git a/ChangeLog b/ChangeLog index 8334e48c136..56794708e71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2017-06-28 Joseph Myers + * math/gen-tgmath-tests.py (Tests.__init__): Define + __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file. + * math/tgmath.h: Include and . (__TGMATH_F128): New macro. diff --git a/math/gen-tgmath-tests.py b/math/gen-tgmath-tests.py index 04492cd3d50..0c548ef9f9e 100755 --- a/math/gen-tgmath-tests.py +++ b/math/gen-tgmath-tests.py @@ -293,7 +293,8 @@ class Tests(object): def __init__(self): """Initialize a Tests object.""" - self.header_list = ['#include \n' + self.header_list = ['#define __STDC_WANT_IEC_60559_TYPES_EXT__\n' + '#include \n' '#include \n' '#include \n' '#include \n'