0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 15:04:10 +01:00

ircd::portable: Fix __builtin_unpredictable macro, takes no value argument.

This commit is contained in:
Jason Volk 2023-02-12 11:51:55 -08:00
parent e1ca32e89a
commit 45a3b8765f

View file

@ -57,7 +57,7 @@
#if !defined(unpredictable)
#if __has_builtin(__builtin_unpredictable)
#define unpredictable(x) __builtin_unpredictable(!!(x), 0)
#define unpredictable(x) __builtin_unpredictable(!!(x))
#else
#define unpredictable(x) (x)
#endif