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: Craig Dooley <craig@xxxxxxxxxx>
Date: Wed, 14 Jan 2004 07:40:02 -0500

What is the desired way to do this?  Should I do something like
#if __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?

-Craig


On Tue, Jan 13, 2004 at 01:17:45PM -0800, Matthew Dillon wrote:
> 
> :This is a first patch to start bringing drm in from recent cvs.  This patch
> :enables MTRR support, and changes a few structures to get us closer.  It
> :doesnt do much, but just turning on MTRR support got me an extra 30 fps in
> :glxgears (850 -> 880).
> :
> :-Craig
> :-- 
> :------------------------------------------------------------------------
> :Craig Dooley                                            craig@xxxxxxxxxx
> :------------------------------------------------------------------------
> 
>     Great work Craig!  Could you redo the __FreeBSD_version checks?  We 
>     have a __DragonFly__ predef now which can be used to test for 
>     DragonFly builds.  Eventually we are going to remove the __FreeBSD__
>     and __FreeBSD_version predefs.
> 
> 						-Matt

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



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