From: Austin Seipp Date: Wed, 18 Mar 2009 02:31:27 +0000 (+0000) Subject: FIX getNumberOfProcessors() on MacOS X X-Git-Tag: 2009-06-25~451 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=97c4b27494addf0231724ca8339e818511256dcf;hp=97c4b27494addf0231724ca8339e818511256dcf;p=ghc-hetmet.git FIX getNumberOfProcessors() on MacOS X This checks if darwin_HOST_OS is defined and, if so, we call sysctlbyname() on the "hw.ncpu" property to get the processor count. ---