mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 22:43:46 +01:00
Simplify check
This commit is contained in:
parent
9f19b843f9
commit
4fd6736a27
@ -5,12 +5,8 @@
|
||||
#include "macros.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
#if __GNUC__ >= 5
|
||||
#if __GNUC__ >= 5 || __has_builtin(__builtin_add_overflow)
|
||||
#define HAVE_BUILTIN
|
||||
#elif defined(__clang__)
|
||||
#if __has_builtin(__builtin_add_overflow)
|
||||
#define HAVE_BUILTIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user