wok-next view gcc/stuff/patches/050_all_libiberty-asprintf.patch @ rev 21726

updated firefox-official (77.0 -> 81.0)
author Hans-G?nter Theisgen
date Sun Sep 27 14:34:31 2020 +0100 (2020-09-27)
parents
children
line source
1 2008-07-25 Magnus Granberg <zorry@ume.nu>
3 * include/libiberty.h (asprintf): Don't declare if defined as a macro
5 --- a/include/libiberty.h
6 +++ b/include/libiberty.h
7 @@ -609,8 +609,11 @@ extern int pwait (int, int *, int);
8 /* Like sprintf but provides a pointer to malloc'd storage, which must
9 be freed by the caller. */
11 +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */
12 +#ifndef asprintf
13 extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2;
14 #endif
15 +#endif
17 #if !HAVE_DECL_VASPRINTF
18 /* Like vsprintf but provides a pointer to malloc'd storage, which