]> git.pld-linux.org Git - packages/ustr.git/blame - ustr-stdarg-va_copy.patch
- merged doc-html-local-css,gnu-inline,man-cleanup,man-spelling,stdarg-va_copy,unused...
[packages/ustr.git] / ustr-stdarg-va_copy.patch
CommitLineData
1e0c24a0
JB
1From: Václav Ovsík <vaclav.ovsik@gmail.com>
2Subject: [PATCH] fixes/stdarg-va_copy
3
4This patch fixes compiler warning:
5ustr-compiler.h:19:7: warning: "__va_copy" is not defined [-Wundef]
6
7Signed-off-by: Václav Ovsík <vaclav.ovsik@gmail.com>
8
9---
10 ustr-compiler.h | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/ustr-compiler.h b/ustr-compiler.h
14index 9e71276..642e6e8 100644
15--- a/ustr-compiler.h
16+++ b/ustr-compiler.h
17@@ -16,7 +16,7 @@
18 #ifdef va_copy
19 # define USTR_CONF_HAVE_VA_COPY 1
20 # define USTR__VA_COPY(x, y) va_copy(x, y)
21-#elif __va_copy
22+#elif defined(__va_copy)
23 # define USTR_CONF_HAVE_VA_COPY 1
24 # define USTR__VA_COPY(x, y) __va_copy(x, y)
25 #else
26--
27tg: (b148fb7..) fixes/stdarg-va_copy (depends on: upstream)
This page took 0.084137 seconds and 4 git commands to generate.