From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Mon, 20 Oct 2008 07:15:51 +0000 Subject: Re: [PATCH] KVM: Qemu: Define the macro CONFIG_$ARCH for building Message-Id: <48FC3027.7060108@redhat.com> List-Id: References: <42DFA526FC41B1429CE7279EF83C6BDC01B48426@pdsmsx415.ccr.corp.intel.com> In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDC01B48426@pdsmsx415.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ia64@vger.kernel.org Zhang, Xiantao wrote: > I can't find a version of unifdef which can handle || operation, > which version are you using? > 1.117 Given the input #if defined(X) || defined(Y) aaa #else bbb #endif Running 'unifdef -DX -UY' seems to make sense out of it. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: Qemu: Define the macro CONFIG_$ARCH for building userspace. Date: Mon, 20 Oct 2008 09:15:51 +0200 Message-ID: <48FC3027.7060108@redhat.com> References: <42DFA526FC41B1429CE7279EF83C6BDC01B48426@pdsmsx415.ccr.corp.intel.com> <48FB5536.5050106@redhat.com> <42DFA526FC41B1429CE7279EF83C6BDC01B488AF@pdsmsx415.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm-ia64@vger.kernel.org, kvm@vger.kernel.org To: "Zhang, Xiantao" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:57821 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750958AbYJTHPq (ORCPT ); Mon, 20 Oct 2008 03:15:46 -0400 In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDC01B488AF@pdsmsx415.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Zhang, Xiantao wrote: > I can't find a version of unifdef which can handle || operation, > which version are you using? > 1.117 Given the input #if defined(X) || defined(Y) aaa #else bbb #endif Running 'unifdef -DX -UY' seems to make sense out of it. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.