mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Fix gen-tgmath-tests.py output for GCC 7 <float.h>.
* math/gen-tgmath-tests.py (Tests.__init__): Define __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
This commit is contained in:
parent
614d15f932
commit
fa562680ce
@ -1,5 +1,8 @@
|
||||
2017-06-28 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* math/gen-tgmath-tests.py (Tests.__init__): Define
|
||||
__STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
|
||||
|
||||
* math/tgmath.h: Include <bits/libc-header-start.h> and
|
||||
<bits/floatn.h>.
|
||||
(__TGMATH_F128): New macro.
|
||||
|
@ -293,7 +293,8 @@ class Tests(object):
|
||||
|
||||
def __init__(self):
|
||||
"""Initialize a Tests object."""
|
||||
self.header_list = ['#include <float.h>\n'
|
||||
self.header_list = ['#define __STDC_WANT_IEC_60559_TYPES_EXT__\n'
|
||||
'#include <float.h>\n'
|
||||
'#include <stdbool.h>\n'
|
||||
'#include <stdint.h>\n'
|
||||
'#include <stdio.h>\n'
|
||||
|
Loading…
Reference in New Issue
Block a user