termux-packages/packages/tizonia/cast-libtizcastclient-src-tizcastclient_c.cc.patch
2021-12-23 15:49:28 +02:00

14 lines
290 B
Diff

--- a/cast/libtizcastclient/src/tizcastclient_c.cc
+++ b/cast/libtizcastclient/src/tizcastclient_c.cc
@@ -31,6 +31,10 @@
#include <assert.h>
+#ifdef __ANDROID__
+#define pthread_yield() (0)
+#endif
+
#include "tizcastclient_c.h"
#include "tizcastclient.hh"
#include "tizplatform.h"