diff mbox

Add a define for __builtin_ms_va_copy()

Message ID 20150311232214.GB14617@redhat.com (mailing list archive)
State Mainlined, archived
Headers show

Commit Message

Michael Stefaniuc March 11, 2015, 11:22 p.m. UTC
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(+)

Comments

Christopher Li March 13, 2015, 5:51 p.m. UTC | #1
On Wed, Mar 11, 2015 at 4:22 PM, Michael Stefaniuc <mstefani@redhat.com> wrote:
> Signed-off-by: Michael Stefaniuc <mstefani@redhat.com>
> ---
> Gets rid of the remaining "error: undefined identifier '__builtin_...'"
> in Wine.


Both patch applied and pushed.

Can you submit some test case while you are there?

Thanks

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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");