diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2024-09-09 16:15:18 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-09-23 17:08:46 +0200 |
commit | a7505ec5620a5969ac35fb2999fbe5e6534a8a34 (patch) | |
tree | b6702c91f84d7ba95dc11d6dd9cceb8ec29044b5 /configure | |
parent | 8c185ef4e7a2f58f2a8a71c7696fb81837d936b6 (diff) | |
download | ffmpeg-a7505ec5620a5969ac35fb2999fbe5e6534a8a34.tar.gz |
compat: add a fallback implementation of C23 stdbit.h
Header contents taken from VLC commit 7a970a33329c9836d169727ddbaf49a33240d587.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7788,6 +7788,10 @@ if disabled stdatomic; then fi fi +check_builtin stdbit "stdbit.h assert.h" \ + 'static_assert(__STDC_VERSION_STDBIT_H__ >= 202311L, "Compiler lacks stdbit.h")' || \ + add_cppflags '-I\$(SRC_PATH)/compat/stdbit' + # Check if requested libraries were found. for lib in $AUTODETECT_LIBS; do requested $lib && ! enabled $lib && die "ERROR: $lib requested but not found"; |