summaryrefslogtreecommitdiff
path: root/src/RWMutex.hpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-10-23 17:52:37 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-10-23 17:52:37 +0000
commit067b0ac8a70ff539e3dbbe2be60c3ac441c8305b (patch)
tree261de59dded1643a4a128978fefa90ea5a193a50 /src/RWMutex.hpp
parentcd5ff43da54e357cd6a79fea21f2ae1afb8d3660 (diff)
Notes
Diffstat (limited to 'src/RWMutex.hpp')
-rw-r--r--src/RWMutex.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RWMutex.hpp b/src/RWMutex.hpp
index a37ac77144f38..954e94c322d45 100644
--- a/src/RWMutex.hpp
+++ b/src/RWMutex.hpp
@@ -17,7 +17,7 @@
#include <windows.h>
#elif !defined(_LIBUNWIND_HAS_NO_THREADS)
#include <pthread.h>
-#if defined(__unix__) && defined(__ELF__) && defined(_LIBUNWIND_HAS_COMMENT_LIB_PRAGMA)
+#if defined(__unix__) && !defined(__ANDROID__) && defined(__ELF__) && defined(_LIBUNWIND_HAS_COMMENT_LIB_PRAGMA)
#pragma comment(lib, "pthread")
#endif
#endif