diff options
author | Stan Shebs <stanshebs@google.com> | 2018-01-19 09:31:04 -0800 |
---|---|---|
committer | Stan Shebs <stanshebs@google.com> | 2018-01-19 09:31:04 -0800 |
commit | 1f3a3e1742c91746216708e95814b9aa0b9b4b45 (patch) | |
tree | 4e961e8370f2e3fdd7dfda2fe154120fdee79523 /sysdeps/generic | |
parent | 5a8bc50ed92a5eeb1a382e55cc873e3ecbbdffc0 (diff) | |
download | glibc-1f3a3e1742c91746216708e95814b9aa0b9b4b45.zip glibc-1f3a3e1742c91746216708e95814b9aa0b9b4b45.tar.gz glibc-1f3a3e1742c91746216708e95814b9aa0b9b4b45.tar.bz2 |
Skip undefined va_arg_pack
Diffstat (limited to 'sysdeps/generic')
-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 0ea2786..a9c2b08 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 |