DragonFly users List (threaded) for 2008-03
DragonFly BSD
DragonFly users List (threaded) for 2008-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Digest users.v001.n1342


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 21 Mar 2008 15:33:41 +0100
Mail-followup-to: Klaus Heinz <k.heinz@maeracht.kh-22.de>, users@crater.dragonflybsd.org

On Fri, Mar 21, 2008 at 03:59:04AM +0100, Klaus Heinz wrote:
> Is there any reason to keep
> 
>   #if defined(_SC_NPROCESSORS_ONLN) && !defined(__DragonFly__)
> 
> and _not_ to simplify this to
> 
>   #if defined(_SC_NPROCESSORS_ONLN)

You mean beside the possibility that _SC_NPROCESSORS_ONLN is a enum?
No, not really. The original patch just hard-coded 1, which is good
enough.

Joerg



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