diff --git a/src/nvthread/nvthread.cpp b/src/nvthread/nvthread.cpp index 498c938..38b5a86 100644 --- a/src/nvthread/nvthread.cpp +++ b/src/nvthread/nvthread.cpp @@ -1,4 +1,4 @@ -// This code is in the public domain -- Ignacio Castaño +// This code is in the public domain -- Ignacio Castaño #include "nvthread.h" @@ -98,7 +98,7 @@ uint nv::processorCount() { // set the mib for hw.ncpu mib[0] = CTL_HW; -#if NV_OS_OPENBSD +#if NV_OS_OPENBSD || NV_OS_FREEBSD mib[1] = HW_NCPU; #else mib[1] = HW_AVAILCPU; @@ -329,4 +329,4 @@ uint nv::physicalProcessorCount() { return processorCount(); } -#endif +#endif