The proper way to feature test POSIX interfaces is:
#include <unistd.h>
...
#if defined(_POSIX_TIMERS) && (_POSIX_TIMERS - 200112L) >= 0L
/* This POSIX feature is supported */
...
#else
/* This POSIX feature is not supported; use an alternate
implementation */
...
#endif
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden
This email sent to email@hidden
References:
>Posix Timers? (From: Andre-John Mas <email@hidden>)