Files
termux-packages/packages/libmosquitto/config.patch
2026-01-31 06:11:03 +00:00

12 lines
284 B
Diff

--- a/config.h
+++ b/config.h
@@ -73,7 +73,7 @@
#define UNUSED(A) (void)(A)
/* Android Bionic libpthread implementation doesn't have pthread_cancel */
-#if !defined(ANDROID) && !defined(WIN32)
+#if !defined(__ANDROID__) && !defined(WIN32)
# define HAVE_PTHREAD_CANCEL
#endif