DragonFly BSD
DragonFly submit List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: DRM updates


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 14 Jan 2004 14:03:57 +0100

On Wed, Jan 14, 2004 at 07:40:02AM -0500, Craig Dooley wrote:
> What is the desired way to do this?  Should I do something like
> #if __DragonFly__

#ifdef __DragonFly__

> ...
> #elif __FreeBSD__
> #if __FreeBSD_version >= 500000
> ...
> #else
> ...
> 
> If I put the dragonfly check in the FreeBSD 4.x section it will just have
> to be moved when we take it out of the compiler.  Does the above seem like a
> reasonable solution?

Otherwise try to either merge the #elif __FreeBSD__ with the version checks
or remove those completely. The last should be avoided for files we want to
keep in sync with other OSes.

Joerg

> 
> ------------------------------------------------------------------------
> Craig Dooley                                            craig@xxxxxxxxxx
> ------------------------------------------------------------------------
> 



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