Files
termux-packages/packages/uwsgi/uwsgi.h.patch
termux-pacman-bot c3ee24dbbf chore(main/uwsgi): link against libandroid-utimes
Instead of adding a sys_time.c source file with the implementation.
2024-03-25 20:37:31 +00: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