Skip to content

Commit

Permalink
libhb: fix preprocessor warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
galad87 committed Feb 20, 2020
1 parent f93881c commit 6b00ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libhb/ports.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b00ac7

Please sign in to comment.