mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 06:18:57 +00:00
12 lines
311 B
Diff
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!");
|