diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2022-12-06 01:48:58 -0800 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2022-12-06 01:48:58 -0800 |
commit | 4d757068c4784a18026089fd812949703bd9470a (patch) | |
tree | 1a1c2f819d14acc7a32cc26f10ffa1227c72b744 /common/opthelpers.h | |
parent | 25a6814cf36bee82b24cb1b5f40769e66c327db4 (diff) |
Avoid using a macro to wrap standard attributes
Diffstat (limited to 'common/opthelpers.h')
-rw-r--r-- | common/opthelpers.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/opthelpers.h b/common/opthelpers.h index 105ca89f..f6d9cc00 100644 --- a/common/opthelpers.h +++ b/common/opthelpers.h @@ -19,14 +19,6 @@ #define force_inline inline #endif -#if __has_attribute(likely) -#define allikely likely -#define alunlikely unlikely -#else -#define allikely -#define alunlikely -#endif - /* Unlike the likely attribute, ASSUME requires the condition to be true or * else it invokes undefined behavior. It's essentially an assert without * actually checking the condition at run-time, allowing for stronger |