mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
macros: add static assert helper
So that we can use this from gnu99 such as from GTK.
This commit is contained in:
@ -67,8 +67,8 @@ SYSPROF_BEGIN_DECLS
|
||||
|
||||
typedef uint64_t SysprofAddress;
|
||||
|
||||
static_assert (sizeof (SysprofAddress) >= sizeof (void *),
|
||||
"Address space is too big");
|
||||
SYSPROF_STATIC_ASSERT (sizeof (SysprofAddress) >= sizeof (void *),
|
||||
"Address space is too big");
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user