X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Ftime.m4;h=6fd6c1004679ce5f9c0f110fe97a00f105d13875;hb=5abcb8724ac7046d62203ea643e9ce69f63a6a8a;hp=3d50e6935d3079343697ca844b9d826203e4ec4d;hpb=b4508f6b917660970f887894a6aaed6c220a2c72;p=m6w6%2Fext-psi diff --git a/m4/time.m4 b/m4/time.m4 index 3d50e69..6fd6c10 100644 --- a/m4/time.m4 +++ b/m4/time.m4 @@ -1,4 +1,4 @@ -AC_DEFUN(PSI_CHECK_TIME, [ +PSI_CHECK_TIME() { AC_CHECK_HEADERS(time.h) PSI_CONST(CLOCKS_PER_SEC, int) @@ -54,6 +54,10 @@ AC_DEFUN(PSI_CHECK_TIME, [ PSI_DECL(int timer_delete, [(timer_t t)]) PSI_DECL(int timer_getoverrun, [(timer_t t)]) PSI_DECL(int timer_gettime, [(timer_t t, struct itimerspec *ts)]) - PSI_DECL(int timer_settime, [(timer_t t, struct itimerspec *value, struct itimerspec *ovalue)]) + PSI_DECL(int timer_settime, [(timer_t t, int flags, struct itimerspec *value, struct itimerspec *ovalue)]) PSI_DECL(void tzset, [()]) -]) + + PSI_EXTVAR(int daylight) + PSI_EXTVAR(long timezone) + PSI_EXTVAR(char **tzname) +}