1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 14:37:08 +00:00
termux-packages/packages/libmosquitto/config.patch
Aditya Alok f3ffac671d
libmosquitto: add threading support (#7435)
* libmosquitto: enable threading and fix pthread_cancel support
2021-09-01 22:01:30 +05:30

12 lines
342 B
Diff

--- mosquitto-2.0.11/config.h 2021-06-09 18:06:55.000000000 +0530
+++ mosquitto-2.0.11-patch/config.h 2021-08-30 23:54:41.977999900 +0530
@@ -78,7 +78,7 @@
#define UNUSED(A) (void)(A)
/* Android Bionic libpthread implementation doesn't have pthread_cancel */
-#ifndef ANDROID
+#ifndef __ANDROID__
# define HAVE_PTHREAD_CANCEL
#endif