vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Feb 11 15:08:23 2018 +0200| [d4c9575d0b857dfdb0633fdf97e149e7777fa379] | committer: Rémi Denis-Courmont
include: enable built-in bit operations on Clang > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d4c9575d0b857dfdb0633fdf97e149e7777fa379 --- include/vlc_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vlc_common.h b/include/vlc_common.h index 0a51662246..00b0e2fffa 100644 --- a/include/vlc_common.h +++ b/include/vlc_common.h @@ -570,7 +570,7 @@ static inline uint8_t clip_uint8_vlc( int32_t a ) * \defgroup bitops Bit operations * @{ */ -#ifdef __GNUC__ +#if defined (__GNUC__) || defined (__clang__) # ifndef __cplusplus # define clz(x) \ _Generic((x), \ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
