diff options
author | stoffu <stoffu@protonmail.ch> | 2018-04-11 11:35:45 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-04-11 11:35:45 +0900 |
commit | 54d9fffa10a3bcc2641567b4cc9774edacd1d6d5 (patch) | |
tree | 3ce6ebef7ee667ad47561072603a8f832a31a39f /tests/gtest/include | |
parent | Merge pull request #3434 (diff) | |
download | monero-54d9fffa10a3bcc2641567b4cc9774edacd1d6d5.tar.xz |
gtest: Fix compilation on MinGW with pthread /googletest#621
Diffstat (limited to 'tests/gtest/include')
-rw-r--r-- | tests/gtest/include/gtest/internal/gtest-port.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/gtest/include/gtest/internal/gtest-port.h b/tests/gtest/include/gtest/internal/gtest-port.h index 7d6e46581..cb0639b4b 100644 --- a/tests/gtest/include/gtest/internal/gtest-port.h +++ b/tests/gtest/include/gtest/internal/gtest-port.h @@ -1553,10 +1553,7 @@ class GTEST_API_ Notification { }; # endif // GTEST_HAS_NOTIFICATION_ -// On MinGW, we can have both GTEST_OS_WINDOWS and GTEST_HAS_PTHREAD -// defined, but we don't want to use MinGW's pthreads implementation, which -// has conformance problems with some versions of the POSIX standard. -# if GTEST_HAS_PTHREAD && !GTEST_OS_WINDOWS_MINGW +# if GTEST_HAS_PTHREAD // As a C-function, ThreadFuncWithCLinkage cannot be templated itself. // Consequently, it cannot select a correct instantiation of ThreadWithParam |