|
@@ -130,6 +130,34 @@ int stime(const time_t *);
|
|
|
time_t timegm(struct tm *);
|
|
|
#endif
|
|
|
|
|
|
+#if _REDIR_TIME64
|
|
|
+__REDIR(time, __time64);
|
|
|
+__REDIR(difftime, __difftime64);
|
|
|
+__REDIR(mktime, __mktime64);
|
|
|
+__REDIR(gmtime, __gmtime64);
|
|
|
+__REDIR(localtime, __localtime64);
|
|
|
+__REDIR(ctime, __ctime64);
|
|
|
+__REDIR(timespec_get, __timespec_get_time64);
|
|
|
+#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|
|
|
+ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
|
|
|
+ || defined(_BSD_SOURCE)
|
|
|
+__REDIR(gmtime_r, __gmtime64_r);
|
|
|
+__REDIR(localtime_r, __localtime64_r);
|
|
|
+__REDIR(ctime_r, __ctime64_r);
|
|
|
+__REDIR(nanosleep, __nanosleep_time64);
|
|
|
+__REDIR(clock_getres, __clock_getres_time64);
|
|
|
+__REDIR(clock_gettime, __clock_gettime64);
|
|
|
+__REDIR(clock_settime, __clock_settime64);
|
|
|
+__REDIR(clock_nanosleep, __clock_nanosleep_time64);
|
|
|
+__REDIR(timer_settime, __timer_settime64);
|
|
|
+__REDIR(timer_gettime, __timer_gettime64);
|
|
|
+#endif
|
|
|
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
|
+__REDIR(stime, __stime64);
|
|
|
+__REDIR(timegm, __timegm_time64);
|
|
|
+#endif
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef __cplusplus
|
|
|
}
|
|
|
#endif
|