Fix for GCC 15
This commit is contained in:
1 parent
05fb168e0b
commit
f448ed5c51
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user