[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-help
Subject: Re: C language test for NetBSD-3 or above.
From: christos () astron ! com (Christos Zoulas)
Date: 2006-04-29 18:24:01
Message-ID: e30b00$p4t$1 () sea ! gmane ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic