On Mon, Oct 27, 2008 at 08:56:55AM -0500, Ravenlock wrote:
> You prefer:
>
> #ifdef __linux__
> CLOCK_PROCESS_CPUTIME_ID
> #else
> CLOCK_PROF -or- CLOCK_REALTIME
> #endif
>
> because CLOCK_PROCESS_CPUTIME_ID is not implemented on *many* platforms,
> but known to linux?
Either that or even
#ifdef CLOCK_PROCESS_CPUTIME_ID
CLOCK_PROCESS_CPUTIME_ID
#elif CLOCK_PROF
CLOCK_PROF
#else
CLOCK_REALTIME
#endif
Joerg
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel