mirror of
https://github.com/google/googletest.git
synced 2026-04-30 19:09:20 +08:00
Merge 43ff2244066a742bb2aedafd991f0196c6cab03f into d72f9c8aea6817cdf1ca0ac10887f328de7f3da2
This commit is contained in:
commit
126ccbb7fb
@ -752,7 +752,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
|
||||
#if defined(__has_cpp_attribute)
|
||||
// NOTE: requiring __cplusplus above should not be necessary, but
|
||||
// works around https://bugs.llvm.org/show_bug.cgi?id=23435.
|
||||
#define GTEST_INTERNAL_HAVE_CPP_ATTRIBUTE(x) __has_cpp_attribute(x)
|
||||
#define GTEST_INTERNAL_HAVE_CPP_ATTRIBUTE(x) GTEST_INTERNAL_CPLUSPLUS_LANG >= __has_cpp_attribute(x)
|
||||
#else
|
||||
#define GTEST_INTERNAL_HAVE_CPP_ATTRIBUTE(x) 0
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user