mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-15 04:20:28 +08:00
e2239af353
Improve the commentary to aid future developers who will stumble upon this novel, yet not always perfect, mechanism to support alternative formats for long double. Likewise, rename __LONG_DOUBLE_USES_FLOAT128 to __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI now that development work has settled down. The command used was git grep -l __LONG_DOUBLE_USES_FLOAT128 ':!./ChangeLog*' | \ xargs sed -i 's/__LONG_DOUBLE_USES_FLOAT128/__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI/g' Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
33 lines
916 B
C
33 lines
916 B
C
#ifndef _PRINTF_H
|
|
|
|
/* Workaround PR90731 with GCC 9 when using ldbl redirects in C++. */
|
|
#include <bits/floatn.h>
|
|
#if defined __cplusplus && __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
|
# if __GNUC_PREREQ (9, 0) && !__GNUC_PREREQ (9, 3)
|
|
# pragma GCC system_header
|
|
# endif
|
|
#endif
|
|
|
|
#include <stdio-common/printf.h>
|
|
|
|
# ifndef _ISOMAC
|
|
|
|
#include <bits/types/locale_t.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern int __printf_fphex (FILE *, const struct printf_info *,
|
|
const void *const *) attribute_hidden;
|
|
extern int __printf_fp (FILE *, const struct printf_info *,
|
|
const void *const *);
|
|
libc_hidden_proto (__printf_fp)
|
|
extern int __printf_fp_l (FILE *, locale_t, const struct printf_info *,
|
|
const void *const *);
|
|
libc_hidden_proto (__printf_fp_l)
|
|
|
|
extern unsigned int __guess_grouping (unsigned int intdig_max,
|
|
const char *grouping)
|
|
attribute_hidden;
|
|
|
|
# endif /* !_ISOMAC */
|
|
#endif
|