Change nk_bool static assert to >= 2
This commit is contained in:
parent
1e21ef2285
commit
76f430c969
@ -437,7 +437,7 @@ NK_STATIC_ASSERT(sizeof(nk_ptr) >= sizeof(void*));
|
||||
#ifdef NK_INCLUDE_STANDARD_BOOL
|
||||
NK_STATIC_ASSERT(sizeof(nk_bool) == sizeof(bool));
|
||||
#else
|
||||
NK_STATIC_ASSERT(sizeof(nk_bool) == 4);
|
||||
NK_STATIC_ASSERT(sizeof(nk_bool) >= 2);
|
||||
#endif
|
||||
|
||||
/* ============================================================================
|
||||
|
@ -216,7 +216,7 @@ NK_STATIC_ASSERT(sizeof(nk_ptr) >= sizeof(void*));
|
||||
#ifdef NK_INCLUDE_STANDARD_BOOL
|
||||
NK_STATIC_ASSERT(sizeof(nk_bool) == sizeof(bool));
|
||||
#else
|
||||
NK_STATIC_ASSERT(sizeof(nk_bool) == 4);
|
||||
NK_STATIC_ASSERT(sizeof(nk_bool) >= 2);
|
||||
#endif
|
||||
|
||||
/* ============================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user