Index: files/patch-modules__ts__include__opencv2__ts__ts_gtest.h =================================================================== --- files/patch-modules__ts__include__opencv2__ts__ts_gtest.h (revision 329462) +++ files/patch-modules__ts__include__opencv2__ts__ts_gtest.h (working copy) @@ -21,7 +21,7 @@ // . Hence the following #define is a hack to prevent // from being included. #define _TR1_FUNCTIONAL 1 -+#if __has_include() ++#if defined(__clang__) && __has_include() +#include +namespace gtest { + using ::std::tuple; @@ -36,7 +36,7 @@ // if he chooses to. #else -#include // NOLINT -+#if __has_include() ++#if defined(__clang__) && __has_include() +#include +namespace gtest { + using ::std::tuple;