X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=misc%2Ferror.h;h=ba0c9293ed6c419f10257d0a07cc4477d146c3c8;hb=9681c61f11d08f757398c5fb74d676db3e78a576;hp=fcd5ad90dc81f0daa80523c95851784bd6ddc0e7;hpb=688903eb3ef01301d239ab753d309d45720610a7;p=thirdparty%2Fglibc.git diff --git a/misc/error.h b/misc/error.h index fcd5ad90dc8..ba0c9293ed6 100644 --- a/misc/error.h +++ b/misc/error.h @@ -1,5 +1,5 @@ /* Declaration for error-reporting function - Copyright (C) 1995-2018 Free Software Foundation, Inc. + Copyright (C) 1995-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -47,9 +47,15 @@ extern unsigned int error_message_count; variable controls whether this mode is selected or not. */ extern int error_one_per_line; - -#if defined __extern_always_inline && defined __va_arg_pack -# include +#ifdef __LDBL_COMPAT +# include +#else +/* Do not inline error and error_at_line when long double has the same + size of double, because that would invalidate the redirections to the + compatibility functions. */ +# if defined __extern_always_inline && defined __va_arg_pack +# include +# endif #endif __END_DECLS