Skip to content

Commit

Permalink
Merge pull request #29 from mdav2/sysctl_patch
Browse files Browse the repository at this point in the history
SYSCTL -> SYSCTLBYNAME
  • Loading branch information
devinamatthews authored Jun 8, 2020
2 parents 0bef960 + 4ebb301 commit 5ccacba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/thread.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct thread_configuration

num_threads = strtol(s.c_str(), NULL, 10);

#elif TBLIS_HAVE_SYSCTL
#elif TBLIS_HAVE_SYSCTLBYNAME

size_t len = sizeof(num_threads);
sysctlbyname("hw.physicalcpu", &num_threads, &len, NULL, 0);
Expand Down

0 comments on commit 5ccacba

Please sign in to comment.