Branch
Hash :
bbe8a410
Author :
Date :
2024-01-26T00:55:45
Resolve conflicts for functions introduced in Android API level 35. * lib/time.in.h (timespec_getres): Consider REPLACE_TIMESPEC_GETRES. * m4/time_h.m4 (gl_TIME_H_DEFAULTS): Initialize REPLACE_TIMESPEC_GETRES. * modules/time-h (Makefile.am): Substitute REPLACE_TIMESPEC_GETRES. * m4/timespec_getres.m4 (gl_FUNC_TIMESPEC_GETRES): Test for timespec_getres using gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE. Conditionally set REPLACE_TIMESPEC_GETRES. * modules/timespec_getres (Depends-on, configure.ac): Consider REPLACE_TIMESPEC_GETRES. * m4/gettime.m4 (gl_GETTIME_RES): Test for timespec_getres using gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE. * doc/posix-functions/timespec_getres.texi: Mention the Android API levels.
Description:
timespec_getres: return the timestamp resolution
Files:
lib/timespec_getres.c
m4/timespec_getres.m4
Depends-on:
extensions
time-h
gettime-res [test $HAVE_TIMESPEC_GETRES = 0 || test $REPLACE_TIMESPEC_GETRES = 1]
configure.ac:
AC_REQUIRE([gl_FUNC_TIMESPEC_GETRES])
gl_CONDITIONAL([GL_COND_OBJ_TIMESPEC_GETRES],
[test $HAVE_TIMESPEC_GETRES = 0 || test $REPLACE_TIMESPEC_GETRES = 1])
gl_TIME_MODULE_INDICATOR([timespec_getres])
Makefile.am:
if GL_COND_OBJ_TIMESPEC_GETRES
lib_SOURCES += timespec_getres.c
endif
Include:
<time.h>
Link:
$(CLOCK_TIME_LIB)
License:
LGPL
Maintainer:
all