Files
termux-packages/x11-packages/freerdp/0001-pthread_cancel.patch
termux-pacman-bot b74025d84b new package: freerdp
2023-10-27 21:01:31 +00:00

12 lines
311 B
Diff

--- a/winpr/libwinpr/thread/thread.c
+++ b/winpr/libwinpr/thread/thread.c
@@ -963,7 +963,7 @@
if (!run_mutex_fkt(pthread_mutex_lock, &thread->mutex))
return FALSE;
-#ifndef ANDROID
+#ifndef __ANDROID__
pthread_cancel(thread->thread);
#else
WLog_ERR(TAG, "Function not supported on this platform!");