This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v6 1/3] Add strfromd, strfromf, and strfroml functions


On Wed, 5 Oct 2016, Gabriel F. T. Gomes wrote:

> diff --git a/stdlib/bits/stdlib-ldbl.h b/stdlib/bits/stdlib-ldbl.h
> index acff499..0c8f87b 100644
> --- a/stdlib/bits/stdlib-ldbl.h
> +++ b/stdlib/bits/stdlib-ldbl.h
> @@ -20,6 +20,9 @@
>  # error "Never include <bits/stdlib-ldbl.h> directly; use <stdlib.h> instead."
>  #endif
>  
> +#define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION
> +#include <bits/libc-header-start.h>
> +

Just as this header did not need to include <features.h>, so it doesn't 
need to do this either: it's only included from <stdlib.h>, which has 
already ensures the USE macros are correctly defined via its include of 
<bits/libc-header-start.h>.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]