From: Gabriel F. T. Gomes Date: Thu, 22 Jun 2017 12:45:32 +0000 (-0300) Subject: Include libc-header-start.h in include/float.h X-Git-Tag: glibc-2.26~255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f0170af26fa3643d9d4cd28d484b4e2d28c6cd5;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 1c3e6ff78be..9b7a6559877 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-06-23 Gabriel F. T. Gomes + + * include/float.h: Include libc-header-start.h to get the + definition of __GLIBC_USE. + 2017-06-23 Paul A. Clarke * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing diff --git a/include/float.h b/include/float.h index a5b357dc966..736868fd52c 100644 --- a/include/float.h +++ b/include/float.h @@ -1,6 +1,9 @@ #ifndef _LIBC_FLOAT_H #define _LIBC_FLOAT_H +#define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION +#include + #ifndef _ISOMAC # define __STDC_WANT_IEC_60559_TYPES_EXT__ #endif