diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/ports.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/ports.c b/libhb/ports.c index 6eb34e3fd..8dbc996fe 100644 --- a/libhb/ports.c +++ b/libhb/ports.c @@ -449,7 +449,7 @@ static int init_cpu_count() #elif defined(SYS_DARWIN) || defined(SYS_FREEBSD) || defined(SYS_NETBSD) || defined(SYS_OPENBSD) size_t length = sizeof( cpu_count ); -#ifdef SYS_OPENBSD || defined(SYS_NETBSD) +#if defined SYS_OPENBSD || defined(SYS_NETBSD) int mib[2] = { CTL_HW, HW_NCPU }; if( sysctl(mib, 2, &cpu_count, &length, NULL, 0) ) #else |