From 54f0fc8a266bfb88923ecb00bed268ac899459c1 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 5 Feb 2019 08:38:02 -0600 Subject: The android NDK does not appear to have adjtime(). (It has the syscall, and it has clock_settime(), but not the libc adjtime() function...) *shrug* Stub it out in portability.h. --- lib/portability.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/portability.h') diff --git a/lib/portability.h b/lib/portability.h index a2a1cd79..6e923611 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -286,6 +286,7 @@ static inline char *get_sched_policy_name(int policy) {return "unknown";} // stub it out for now. #ifdef __ANDROID_NDK__ #define __android_log_write(a, b, c) (0) +#define adjtime(x, y) (0) #endif #ifndef SYSLOG_NAMES -- cgit v1.2.3