Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3a90ea99
Unverified
Commit
3a90ea99
authored
Mar 05, 2023
by
某10
Committed by
GitHub
Mar 05, 2023
Browse files
Add GNUC minor version check for redis_unreachable (#11882)
__builtin_unreachable is added for the first time in GCC 4.5
parent
bfe50a30
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.h
View file @
3a90ea99
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
#endif
#endif
#endif
#endif
#if __GNUC__ >=
4
#if __GNUC__ >=
5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
#define redis_unreachable __builtin_unreachable
#define redis_unreachable __builtin_unreachable
#else
#else
#define redis_unreachable abort
#define redis_unreachable abort
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment