1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Include libc-header-start.h in include/float.h

The file include/float.h uses the macro __GLIBC_USE to test for TS 18661-3
support.  Such macro is provided by bits/libc-header-start.h, so include it
to get the definition.

Tested for powerpc64le and s390x.

	* include/float.h: Include libc-header-start.h to get the
	definition of __GLIBC_USE.
This commit is contained in:
Gabriel F. T. Gomes
2017-06-22 09:45:32 -03:00
parent c340290de8
commit 9f0170af26
2 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#ifndef _LIBC_FLOAT_H
#define _LIBC_FLOAT_H
#define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION
#include <bits/libc-header-start.h>
#ifndef _ISOMAC
# define __STDC_WANT_IEC_60559_TYPES_EXT__
#endif