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:
parent
e1ca32e89a
commit
45a3b8765f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue