From patchwork Wed Mar 11 23:22:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Stefaniuc X-Patchwork-Id: 5989241 Return-Path: X-Original-To: patchwork-linux-sparse@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 87548BF90F for ; Wed, 11 Mar 2015 23:22:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9350E20398 for ; Wed, 11 Mar 2015 23:22:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B07FB20396 for ; Wed, 11 Mar 2015 23:22:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751112AbbCKXWQ (ORCPT ); Wed, 11 Mar 2015 19:22:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41421 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445AbbCKXWQ (ORCPT ); Wed, 11 Mar 2015 19:22:16 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t2BNMFha021550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 11 Mar 2015 19:22:15 -0400 Received: from brasov.str.redhat.com (brasov.str.redhat.com [10.33.193.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t2BNMFHI013514 for ; Wed, 11 Mar 2015 19:22:15 -0400 Received: by brasov.str.redhat.com (Postfix, from userid 2500) id F0D34A0495; Thu, 12 Mar 2015 00:22:14 +0100 (CET) Date: Thu, 12 Mar 2015 00:22:14 +0100 From: Michael Stefaniuc To: linux-sparse@vger.kernel.org Subject: [PATCH] Add a define for __builtin_ms_va_copy() Message-ID: <20150311232214.GB14617@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Michael Stefaniuc --- 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");