Re: [PATCH] KVM: Qemu: Define the macro CONFIG_$ARCH for building
Avi Kivity <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
Zhang, Xiantao wrote: > From 7bba897e8f00c0d2e850e7b8f47cc491cb1f5dee Mon Sep 17 00:00:00 2001 > From: Xiantao Zhang <[email protected]> > Date: Fri, 17 Oct 2008 09:07:01 +0800 > Subject: [PATCH] KVM: Qemu: Define the macro CONFIG_$ARCH for building > userspace. > > Currently, make sync will use unifdef to hack some header files, but > it maybe not work on some systems, caused by lack of unifdef or unifdef > can't handle some macro combinations(Such as ||, && operations). > Developers can install unifdef (and gcc, etc.) I see that recent unifdefs can handle ||, but will require all symbols to be defined or undefined (with -D or -U). -- error compiling committee.c: too many arguments to function