[zeromq-dev] [patch] 0001-Added-support-for-latest-OpenPGM-5.1.99-on-OSX10.6.patch

Steven McCoy 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.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101221/607254e7/attachment.htm>


More information about the zeromq-dev mailing list