Hrvoje Niksic writes:
> 
> I suppose we should then use:
> 
> #ifdef _POSIX_TIMERS
> # if _POSIX_TIMERS > 0

The usual solution to this problem is:

        #if _POSIX_TIMERS - 0 > 0

That gets the right answer regardless of whether _POSIX_TIMERS is
undefined, defined as nothing, or defined as a number.

-Larry Jones

In a minute, you and I are going to settle this out of doors. -- Calvin

Reply via email to