ykzhao, le Tue 24 Aug 2010 15:55:41 +0800, a écrit :
>     b. CLOCK_MONOTONIC_COARSE is already defined. But the corresponding
> id is not 6.

That won't happen on Linux, the value is now cast into stone. That's why
it's safe to use

#ifdef __linux__
# ifndef CLOCK_MONOTONIC_COARSE 
#  define CLOCK_MONOTONIC_COARSE 6
# endif
#endif

On other OSes that may happen (that's the original Nack against your
patch), thus the #ifdef __linux__ above is necessary.

Samuel
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to