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:
+1
-1
@@ -131,7 +131,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __GNUC__ >= 4
|
||||
#if __GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
|
||||
#define redis_unreachable __builtin_unreachable
|
||||
#else
|
||||
#define redis_unreachable abort
|
||||
|
||||
Reference in New Issue
Block a user