aboutsummaryrefslogtreecommitdiffstats
path: root/src/condition_variable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/condition_variable.cpp')
-rw-r--r--src/condition_variable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/condition_variable.cpp b/src/condition_variable.cpp
index b8426c66fde6..bf89d255dd82 100644
--- a/src/condition_variable.cpp
+++ b/src/condition_variable.cpp
@@ -15,7 +15,7 @@
#include "system_error"
#include "__undef_macros"
-#if defined(__unix__) && defined(__ELF__) && defined(_LIBCPP_HAS_COMMENT_LIB_PRAGMA)
+#if defined(__unix__) && !defined(__ANDROID__) && defined(__ELF__) && defined(_LIBCPP_HAS_COMMENT_LIB_PRAGMA)
#pragma comment(lib, "pthread")
#endif