0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 05:59:06 +00:00
Henrik Grimler adc31b26c9 chore(main/uwsgi): link against libandroid-utimes
Instead of adding a sys_time.c source file with the implementation.
2024-03-25 21:33:10 +01:00

16 lines
339 B
Diff

--- a/uwsgi.h
+++ b/uwsgi.h
@@ -4967,6 +4967,12 @@
int uwsgi_wait_for_mountpoint(char *);
int uwsgi_wait_for_socket(char *);
+#ifdef __ANDROID__
+#define pivot_root(new_root, put_old) (-1)
+#define pthread_setcancelstate(state, oldstate) (-1)
+#define pthread_setcanceltype(type, oldtype) (-1)
+#endif
+
#ifdef __cplusplus
}
#endif