Subject: Re: C language test for NetBSD-3 or above.
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-help
Date: 04/29/2006 18:24:01
In article <s93odykxow3.fsf@chen.chizhovka.net>,
Aleksey Cheusov  <netbsd-help@netbsd.org> wrote:
>Is this a correct test for NetBSD-3 and above?
>
>#include <sys/param.h>
>...
>#if defined (__NetBSD__) && defined(__NetBSD_Version__) &&
>__NetBSD_Version__ >= 300000000
>
>-- 
>Best regards, Aleksey Cheusov.
>

I think:

#if __NetBSD_Version__ >= 300000000

is enough

christos