1
0
Эх сурвалжийг харах

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

yangjie11 1 жил өмнө
parent
commit
d256d742d1

+ 4 - 0
components/libc/compilers/common/include/sys/time.h

@@ -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