diff options
Diffstat (limited to 'include/osmocore/utils.h')
-rw-r--r-- | include/osmocore/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h index 3574f7f8..93cefbe6 100644 --- a/include/osmocore/utils.h +++ b/include/osmocore/utils.h @@ -21,4 +21,6 @@ int hexparse(const char *str, uint8_t *b, int max_len); char *hexdump(const unsigned char *buf, int len); char *hexdump_nospc(const unsigned char *buf, int len); +#define static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1]; + #endif |