#ifndef BASE_PLATFORM_H
#define BASE_PLATFORM_H
#ifdef __cplusplus
extern "C" {
#endif
#if defined(__clang__)
#define WS_FALLTHROUGH [[clang::fallthrough]]
#elif defined(__GNUC__)
#define WS_FALLTHROUGH __attribute__((fallthrough))
#else
#define WS_FALLTHROUGH
#endif
#ifdef __cplusplus
}
#endif
#endif