]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Fix building on older versions of gcc
authorMichael Brown <mcb30@ipxe.org>
Tue, 2 Mar 2021 16:46:14 +0000 (16:46 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 2 Mar 2021 16:47:22 +0000 (16:47 +0000)
commit3b8aff94bfc7932cfed7198d48de6bc273fe951d
treec79fe0d3b92ab2b90323582693634e6d46a53a4e
parent2b5d3f582f718ca11488fb6d92ea39dd22b8ffed
[build] Fix building on older versions of gcc

Versions of gcc prior to 9.1 do not support the single-argument form
of static_assert().  Fix by unconditionally defining a compatibility
macro for the single file that uses this.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/linux/linux_api.c