|
@@ -157,7 +157,8 @@ int main()
|
|
// TODO: Remove this workaround once Clang <= 3.7 are no longer used regularly.
|
|
// TODO: Remove this workaround once Clang <= 3.7 are no longer used regularly.
|
|
// In those compiler versions the __is_constructible builtin gives the wrong
|
|
// In those compiler versions the __is_constructible builtin gives the wrong
|
|
// results for abominable function types.
|
|
// results for abominable function types.
|
|
-#if defined(__clang__) && __clang_major__ == 3 && __clang_minor__ < 8
|
|
|
|
|
|
+#if (defined(TEST_APPLE_CLANG_VER) && TEST_APPLE_CLANG_VER < 703) \
|
|
|
|
+ || (defined(TEST_CLANG_VER) && TEST_CLANG_VER < 308)
|
|
#define WORKAROUND_CLANG_BUG
|
|
#define WORKAROUND_CLANG_BUG
|
|
#endif
|
|
#endif
|
|
#if !defined(WORKAROUND_CLANG_BUG)
|
|
#if !defined(WORKAROUND_CLANG_BUG)
|