* [PATCH] Add a define for __builtin_ms_va_copy()
@ 2015-03-11 23:22 Michael Stefaniuc
2015-03-13 17:51 ` Christopher Li
0 siblings, 1 reply; 2+ messages in thread
From: Michael Stefaniuc @ 2015-03-11 23:22 UTC (permalink / raw)
To: linux-sparse
Signed-off-by: Michael Stefaniuc <mstefani@redhat.com>
---
Gets rid of the remaining "error: undefined identifier '__builtin_...'"
in Wine.
lib.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib.c b/lib.c
index 58a7f2e..d5b56b0 100644
--- a/lib.c
+++ b/lib.c
@@ -970,6 +970,7 @@ void create_builtin_stream(void)
add_pre_buffer("#define __builtin_va_alist (*(void *)0)\n");
add_pre_buffer("#define __builtin_va_arg_incr(x) ((x) + 1)\n");
add_pre_buffer("#define __builtin_va_copy(dest, src) ({ dest = src; (void)0; })\n");
+ add_pre_buffer("#define __builtin_ms_va_copy(dest, src) ({ dest = src; (void)0; })\n");
add_pre_buffer("#define __builtin_va_end(arg)\n");
add_pre_buffer("#define __builtin_ms_va_end(arg)\n");
add_pre_buffer("#define __builtin_va_arg_pack()\n");
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-13 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-11 23:22 [PATCH] Add a define for __builtin_ms_va_copy() Michael Stefaniuc
2015-03-13 17:51 ` Christopher Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).