Hi,

Po Lu wrote:
> Snapshots of the NDK r26 have `timespec_getres' in libc.so, which can
> only be used under API 35 (Android 14) and later.
> 
> Does gettime-res require adjustments?

Probably this means that instead of
  AC_CHECK_FUNCS_ONCE([timespec_getres])
we'll need to write
  gl_CHECK_FUNCS_ANDROID([timespec_getres], [[#include <time.h>]])
and introduce a new AC_SUBSTed variable
  REPLACE_TIMESPEC_GETRES,
using the idioms from January 2023.

Please come back to us on this when the new Android NDK has been released.
I'm not so keen on supporting snapshots of Android NDKs and unreleased
versions of Android, since that tends to introduce extra piecemeal work
and some confusion.

Bruno




Reply via email to