diff options
Diffstat (limited to 'src/RWMutex.hpp')
-rw-r--r-- | src/RWMutex.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RWMutex.hpp b/src/RWMutex.hpp index a37ac77144f3..954e94c322d4 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 |