qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] build: Add include check on syscall.h


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] build: Add include check on syscall.h
Date: Fri, 29 Jan 2016 13:40:41 +0000

On 29 January 2016 at 13:30, Lluís Vilanova <address@hidden> wrote:
> Peter Maydell writes:
>> Adding include guards is fine, but it sounds to me like what we
>> should actually do to fix this confusion is rename all the linux-user
>> local headers to target_syscall.h.
>
> Hmmm, I didn't know if using the same name was on purpose or not. If the
> intention was *not* to override the system's syscall.h, then a rename is the
> proper solution.


Yes, the intention is absolutely not to override any system header
(the constants defined are only relevant to the guest, and if the
header got included and overrode the host's syscall.h then nothing
would work and it probably wouldn't even compile). It just ended up
with the same name by accident.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]