tech-kern archive

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

Re: Removing __NetBSD_Prereq__()



On Wed, Jan 11, 2012 at 03:58:30AM +0000, David Holland wrote:
 > > > ps: I'd still like to see __NetBSD_Prereq__() macro destroyed.
 > > so would I.
 > 
 > okay, it's high time this got done. I will nuke it next week unless
 > someone has serious objections.

Oops, I didn't, been too wrapped up in other things. But I've found
enough uses in rumphijack that I think it should be replaced with
something comprehensible. I suggest this usage:

   __NetBSD_Version__ < __NetBSD_Version_Of__(5,99,33)
   __NetBSD_Version__ >= __NetBSD_Version_Of__(5,99,33)

since the numbering scheme does preserve this property, and this way
the intended meaning is actually clear.

Any objections yell loudly as this ought to get in before branching.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index