Subject: Re: CVS commit: src/sys/kern
To: matthew green <mrg@eterna.com.au>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 09/10/2006 09:43:02
matthew green <mrg@eterna.com.au> wrote:
> But how can I deal with archs that do not define NETBSD32PTR64, then?
>
> Should I make the code #ifdef NETBSD32PTR64?
>
>
> that sounds like a decent idea, and then it only affects the platforms
> that actually care about it (i was vaguely annoyed at the concept of
> 32bit-only systems making that check...) thanks.
There is one more problem: I cannot include <compat/netbsd32/netbsd32.h>
with ifdef NETBSD32PTR64, since this is the header that defines
NETBSD32PTR64.
I'm not sure I can include <compat/netbsd32/netbsd32.h> inconditionnally
without breaking the build on arch that are not COMPAT_NETBSD32 capable.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org