8 #ifndef INCLUDED_SDSL_PLATFORM
9 #define INCLUDED_SDSL_PLATFORM
15 #if defined(__clang__)
16 #define COMPILER_CLANG
19 #if defined(__GNUC__) && !defined(COMPILER_CLANG)
24 #define SDSL_FALLTHROUGH
25 #if defined(__has_cpp_attribute)
26 #if __has_cpp_attribute(fallthrough)
27 #undef SDSL_FALLTHROUGH
28 #if __cplusplus < 201500 && defined(COMPILER_GCC)
29 #define SDSL_FALLTHROUGH [[gnu::fallthrough]];
30 #elif __cplusplus < 201500 && defined(COMPILER_CLANG)
31 #define SDSL_FALLTHROUGH [[clang::fallthrough]];
33 #define SDSL_FALLTHROUGH [[fallthrough]];
Namespace for the succinct data structure library.