diff options
Diffstat (limited to 'misc/error.h')
-rw-r--r-- | misc/error.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/error.h b/misc/error.h index a456695f1a..bb8a3b26a4 100644 --- a/misc/error.h +++ b/misc/error.h @@ -47,11 +47,13 @@ extern unsigned int error_message_count; variable controls whether this mode is selected or not. */ extern int error_one_per_line; -#ifdef __LDBL_COMPAT +#include <bits/floatn.h> +#if defined __LDBL_COMPAT || __LONG_DOUBLE_USES_FLOAT128 == 1 # include <bits/error-ldbl.h> #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 + size of double, nor when long double reuses the float128 + implementation, because that would invalidate the redirections to the compatibility functions. */ # if defined __extern_always_inline && defined __va_arg_pack # include <bits/error.h> |