21#include "platform/mbed_toolchain.h"
63#define MBED_ASSERT(expr) ((void)0)
66#define MBED_ASSERT(expr) \
69 mbed_assert_internal(#expr, MBED_FILENAME, __LINE__); \
75#if !defined __cplusplus && !defined static_assert
76#define static_assert _Static_assert
100#if defined(__cplusplus)
101#define MBED_STATIC_ASSERT(expr, msg) static_assert(expr, msg)
103#define MBED_STATIC_ASSERT(expr, msg) _Static_assert(expr, msg)
125#define MBED_STRUCT_STATIC_ASSERT(expr, message) MBED_STATIC_ASSERT(expr, message)