Thanks for pointing out.

A clarification - that kind of define check was in two places, see next. The patch you refer to is updating on the second condition. The first one should stay?

#if defined (__OS_darwin) || defined (__OS_freebsd)
#include <sys/param.h>
#include <sys/sysctl.h>
#else
#include <unistd.h>
#endif

int get_num_cpus() {
    int count = 0;

#if defined (__OS_darwin) || defined (__OS_freebsd)
    int nm[2];
    size_t len;


Reply to this email directly or view it on GitHub.