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

Scott alcoholiday at gmail.com
Wed Dec 22 02:18:07 CET 2010


The issue was that the top part with POSIX defines was evaluating TRUE and
setting CONFIG_HAVE_CLOCK_GETTIME to 1. Even if the the other part
evaluated, I was trying suppress the include of features.h, w/o modifying
the openpgm code.

On Tue, Dec 21, 2010 at 4:55 PM, Steven McCoy <steven.mccoy at miru.hk> wrote:

> On 22 December 2010 01:34, Scott <alcoholiday at gmail.com> wrote:
>
>> >> -DCONFIG_HAVE_GETTIMEOFDAY=1 -DCONFIG_HAVE_FTIME
>> >
>> > I don't think these should be here for Darwin, the latter two are
>> covered
>> > by pgm/impl/features.h.
>>
>> Yes they are - but pgm/impl/features.h is incorrectly (I believe)
>> interpreting the _POSIX or __POSIX flags and setting
>> CONFIG_HAVE_CLOCK_GETTIME
>>
>>
> There is a separate section just for Darwin at the bottom of features.h?
>
>  #if defined(__APPLE__)
>  #       define CONFIG_HAVE_FTIME                1
>  #       define CONFIG_HAVE_GETTIMEOFDAY         1
>  #endif
>
> --
> Steve-o
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101221/daa60edc/attachment.htm>


More information about the zeromq-dev mailing list