]> git.ipfire.org Git - thirdparty/glibc.git/blame - include/monetary.h
INSTALL, install.texi: minor updates, regenerate
[thirdparty/glibc.git] / include / monetary.h
CommitLineData
86005fdb
PM
1/* Workaround PR90731 with GCC 9 when using ldbl redirects in C++. */
2#include <bits/floatn.h>
e2239af3 3#if defined __cplusplus && __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
86005fdb
PM
4# if __GNUC_PREREQ (9, 0) && !__GNUC_PREREQ (9, 3)
5# pragma GCC system_header
6# endif
7#endif
8
b0de3e9e 9#include <stdlib/monetary.h>
d94a4670 10#ifndef _ISOMAC
ccadf7b5
UD
11#include <stdarg.h>
12
c75772e3
ZW
13extern ssize_t
14__vstrfmon_l_internal (char *s, size_t maxsize, locale_t loc,
15 const char *format, va_list ap,
16 unsigned int flags)
17 attribute_hidden;
18
19/* Flags for __vstrfmon_l_internal.
20
21 STRFMON_LDBL_IS_DBL is a one-bit mask for the flags parameter that
22 indicates whether long double values are to be handled as having the
23 same format as double, in which case the flag should be set to one,
24 or as another format, otherwise. */
25#define STRFMON_LDBL_IS_DBL 0x0001
66fa3082 26#define STRFMON_LDBL_USES_FLOAT128 0x0002
c75772e3 27
d94a4670 28#endif