From: pwpiwi Date: Sat, 6 Oct 2018 15:48:43 +0000 (+0200) Subject: Add another #ifdef for the __BIONIC__ fix (the effect of setting p_thread to 0 is... X-Git-Tag: v3.1.0~6 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/eed83b910ca8687f7928b5d3743ab9bcd7ede705 Add another #ifdef for the __BIONIC__ fix (the effect of setting p_thread to 0 is undefined for other libs) --- diff --git a/client/comms.c b/client/comms.c index 86dca3ed..0c4efa73 100644 --- a/client/comms.c +++ b/client/comms.c @@ -364,7 +364,9 @@ void CloseProxmark(void) { // Clean up our state sp = NULL; serial_port_name = NULL; +#ifdef __BIONIC__ memset(&USB_communication_thread, 0, sizeof(pthread_t)); +#endif }