1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-05-13 07:03:33 +00:00
Files
gnulib/modules/timespec_getres
Bruno Haible bbe8a410fa 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.
2024-01-26 00:56:06 +01:00

35 lines
620 B
Plaintext

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