<p>Thanks for pointing out.</p>
<p>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?</p>
<pre><code>#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;
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/24#issuecomment-69491839">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZQ9B9L4lWGflH7QpaQwYjFwsx6hoks5ngluvgaJpZM4DQ3bE.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/kamailio/kamailio/issues/24#issuecomment-69491839"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>