Source-Changes archive

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

Re: CVS commit: src/sys/kern



matthew green <mrg%eterna.com.au@localhost> 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@localhost



Home | Main Index | Thread Index | Old Index