commit | 54f0fc8a266bfb88923ecb00bed268ac899459c1 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Tue Feb 05 08:38:02 2019 -0600 |
committer | Rob Landley <rob@landley.net> | Tue Feb 05 08:38:02 2019 -0600 |
tree | 3b6cde065bdc058a0292f6f85ad800e15745d721 | |
parent | 3e3c50c3fd1682db7ad8269d588637e2251948a3 [diff] |
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.
diff --git a/lib/portability.h b/lib/portability.h index a2a1cd7..6e92361 100644 --- a/lib/portability.h +++ b/lib/portability.h
@@ -286,6 +286,7 @@ // 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