Skip to content
Commit 3dc28308 authored by Marius Vlad's avatar Marius Vlad
Browse files

libweston/color-management: Add fallback for static_assert



Attempt to fix the following with clang-18:

../weston-9999/libweston/color-management.c:890:2: error: call to
undeclared function 'static_assert'; ISO C99 and later do not support
implicit function declarations [-Wimplicit-function-declaration] 890 |
static_assert(UINT32_MAX <= SIZE_MAX, |         ^

Fixes: #948

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 6bcf9ca6
Loading
Loading
Loading
Pipeline #1260447 passed with stages
in 7 minutes and 29 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment