[sr-dev] [kamailio] FreeBSD port of 4.2.2 kamailio, small issues (#24)
Daniel-Constantin Mierla
notifications at github.com
Sun Jan 11 12:53:19 CET 2015
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:
https://github.com/kamailio/kamailio/issues/24#issuecomment-69491839
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150111/91f112d6/attachment.html>
More information about the sr-dev
mailing list