mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
19 lines
396 B
Diff
19 lines
396 B
Diff
--- ./src/util/snprintf.h.orig
|
|
+++ ./src/util/snprintf.h
|
|
@@ -12,10 +12,14 @@
|
|
/* XXX: This is not quite the best place for it, perhaps. But do we have
|
|
* a better one now? --pasky */
|
|
#ifndef VA_COPY
|
|
+#ifdef va_copy
|
|
+#define VA_COPY va_copy
|
|
+#else
|
|
#ifdef HAVE_VA_COPY
|
|
#define VA_COPY(dest, src) __va_copy(dest, src)
|
|
#else
|
|
#define VA_COPY(dest, src) (dest) = (src)
|
|
+#endif
|
|
#endif
|
|
#endif
|
|
|
|
|