diff options
author | Stan Shebs <stanshebs@google.com> | 2018-01-19 09:31:04 -0800 |
---|---|---|
committer | Stan Shebs <stanshebs@google.com> | 2018-01-24 16:03:39 -0800 |
commit | 2defba5a32d87289fd4c2aa82307481b13d65e61 (patch) | |
tree | 963150bcbe3835f32f7d012ab7bfbc699575a16c | |
parent | 98e480caca6b95e46406fa13339ce6f06fb2ddd3 (diff) | |
download | glibc-2defba5a32d87289fd4c2aa82307481b13d65e61.tar.gz glibc-2defba5a32d87289fd4c2aa82307481b13d65e61.tar.xz glibc-2defba5a32d87289fd4c2aa82307481b13d65e61.zip |
Skip undefined va_arg_pack
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 0ea27865c0..a9c2b0835a 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -710,7 +710,11 @@ _dl_dprintf (int fd, const char *fmt, ...) { /* Use local declaration to avoid includign <stdio.h>. */ extern int __dprintf(int fd, const char *format, ...) attribute_hidden; +#if defined(__clang__) + __dprintf (fd, fmt); +#else __dprintf (fd, fmt, __builtin_va_arg_pack ()); +#endif } #endif |