termux-packages/packages/tizonia/rm-libtizrmproxy-src-tizrmp...

14 lines
268 B
Diff

--- a/rm/libtizrmproxy/src/tizrmproxy_c.cc
+++ b/rm/libtizrmproxy/src/tizrmproxy_c.cc
@@ -31,6 +31,10 @@
#include <assert.h>
+#ifdef __ANDROID__
+#define pthread_yield() (0)
+#endif
+
#include "tizrmproxy_c.h"
#include "tizrmproxy.hh"
#include "tizplatform.h"