[zeromq-dev] [patch] 0001-Added-support-for-latest-OpenPGM-5.1.99-on-OSX10.6.patch
steven.mccoy at miru.hk
Tue Dec 21 11:51:08 CET 2010
On 21 December 2010 16:26, Scott <alcoholiday at gmail.com> wrote:
> + -DCONFIG_HAVE_ALLOCA_H \
> + -DCONFIG_HAVE_BACKTRACE \
Ok, you can get away with these two it seems, alloca is defined in both
alloca.h and stdlib.h it doesn't affect the build. backtrace doesn't work
on FreeBSD which is why it is ignored upstream, but Apple added it in 10.5;
backtrace is only used in the example code.
> + -DCONFIG_HAVE_PROC \
This one kinda funny too, without a usable TSC it doesn't matter.
A/proc/cpuinfois required to read the clock frequency and status
flags. OS X by default
doesn't have a /proc file system and it masks out calls to RDTSC which makes
the results useless.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev