Subject: Re: gnucash issues
To: Roland Illig <roland.illig@gmx.de>
From: Ron Roskens <roskens@elfin.net>
List: tech-pkg
Date: 02/08/2004 16:35:02
* Roland Illig <roland.illig@gmx.de> [2004-02-08 23:25:43 +0100]:

> Jan Schaumann wrote:
> >#if !(defined(__FreeBSD__) || \
> >	(defined(__NetBSD__) && __NetBSD__ < 010620030530))
> >
> >(Not very pretty.)
> 
> Indeed. The number 010620030530 is an octal number. Was that intended? 
> If yes, what about dates that have an 8 or 9 in it? If not, the number 
> is greater than 32 bits. Should it then be 010620030530L? And would even 
> that be valid on every system?

It should be based off of __NetBSD_Version__ not __NetBSD__.

#if !(defined(__FreeBSD__) || \
     (defined(__NetBSD__) && (__NetBSD_Version__ < 106220000))

The kernel version around that date was 1.6U.

Ron