diff options
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader/compile_tests.h')
-rw-r--r-- | Tests/Module/WriteCompilerDetectionHeader/compile_tests.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/Module/WriteCompilerDetectionHeader/compile_tests.h b/Tests/Module/WriteCompilerDetectionHeader/compile_tests.h index 8b547d8..d3c2a2d 100644 --- a/Tests/Module/WriteCompilerDetectionHeader/compile_tests.h +++ b/Tests/Module/WriteCompilerDetectionHeader/compile_tests.h @@ -1,8 +1,10 @@ -#define JOIN_IMPL(A, B) A ## B +#define JOIN_IMPL(A, B) A##B #define JOIN(A, B) JOIN_IMPL(A, B) -#define CHECK(FEATURE) (JOIN(PREFIX, JOIN(_COMPILER_, FEATURE)) == JOIN(EXPECTED_COMPILER_, FEATURE)) +#define CHECK(FEATURE) \ + (JOIN(PREFIX, JOIN(_COMPILER_, FEATURE)) == \ + JOIN(EXPECTED_COMPILER_, FEATURE)) #if !CHECK(CXX_DELEGATING_CONSTRUCTORS) #error cxx_delegating_constructors expected availability did not match. |