3 #include "mem_config.h"
5 #if defined __cplusplus
11 #ifndef HAVE_CLOCK_MONOTONIC
12 # define CLOCK_MONOTONIC 1
15 #ifndef HAVE_STRUCT_TIMESPEC
22 #ifndef HAVE_CLOCK_GETTIME
23 # define P9Y_NEED_CLOCK_GETTIME
24 int clock_gettime(int clock_type, struct timespec *spec);
27 #endif // HAVE_CLOCK_GETTIME