[components][time.h]Fixed undefined macro TIMER_ABSTIME

This commit is contained in:
yangjie11 2023-06-14 11:29:56 +08:00 committed by Man, Jianting (Meco)
parent c7ad493b9a
commit d256d742d1
1 changed files with 4 additions and 0 deletions

View File

@ -157,6 +157,10 @@ int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
#define CLOCK_MONOTONIC 4
#endif /* CLOCK_MONOTONIC */
#ifndef TIMER_ABSTIME
#define TIMER_ABSTIME 4
#endif /* TIMER_ABSTIME */
#ifdef CLOCK_TAI
#define CLOCK_ID_MAX CLOCK_TAI
#else