On what version of OSX? I'm on 10.6.5 and this is never raised: --- include/impl/features.h (revision 1244) +++ include/impl/features.h (working copy) @@ -35,6 +35,7 @@ # define CONFIG_HAVE_GETTIMEOFDAY 1 # endif # if (_POSIX_C_SOURCE - 0) >= 199309L || (__POSIX_VISIBLE - 0) >= 199309L +#error "clock_gettime" # define CONFIG_HAVE_CLOCK_GETTIME 1 # endif #endif
-- Steve-o On 22 December 2010 09:18, Scott <alcoholi...@gmail.com> wrote: > 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.mc...@miru.hk>wrote: > >> On 22 December 2010 01:34, Scott <alcoholi...@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@lists.zeromq.org >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >> >> > > _______________________________________________ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev