Skip to content

Commit 8e725c6

Browse files
committed
Remove redundant #ifndef
1 parent b555360 commit 8e725c6

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

antithesis_sdk.h

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,17 @@
88

99
#if __cplusplus < 202000L
1010
#error "The Antithesis C++ API requires C++20 or higher"
11-
#ifndef NO_ANTITHESIS_SDK
12-
#define NO_ANTITHESIS_SDK
13-
#endif
11+
#define NO_ANTITHESIS_SDK
1412
#endif
1513

1614
#if !defined(__clang__)
1715
#error "The Antithesis C++ API requires a clang compiler"
18-
#ifndef NO_ANTITHESIS_SDK
19-
#define NO_ANTITHESIS_SDK
20-
#endif
16+
#define NO_ANTITHESIS_SDK
2117
#endif
2218

2319
#if __clang_major__ < 16
2420
#error "The Antithesis C++ API requires clang version 16 or higher"
25-
#ifndef NO_ANTITHESIS_SDK
26-
#define NO_ANTITHESIS_SDK
27-
#endif
21+
#define NO_ANTITHESIS_SDK
2822
#endif
2923

3024
#else

0 commit comments

Comments
 (0)