Fix for GCC 15

This commit is contained in:
Philippe Teuwen 2025-03-25 23:25:20 +01:00
commit f448ed5c51

View file

@ -179,7 +179,9 @@
#ifndef unlikely
# define unlikely(x) __builtin_expect(!!(x), 0)
#endif
#ifndef unreachable
# define unreachable() __builtin_unreachable()
#endif
#elif defined(_MSC_VER)
# define likely(x) (x)
# define unlikely(x) (x)