mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Add GNUC minor version check for redis_unreachable (#11882)
__builtin_unreachable is added for the first time in GCC 4.5
This commit is contained in:
parent
bfe50a30ed
commit
3a90ea998c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user