mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:56:00 +01:00
Simplify check
This commit is contained in:
parent
9f19b843f9
commit
4fd6736a27
1 changed files with 1 additions and 5 deletions
|
@ -5,12 +5,8 @@
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#if __GNUC__ >= 5
|
#if __GNUC__ >= 5 || __has_builtin(__builtin_add_overflow)
|
||||||
#define HAVE_BUILTIN
|
#define HAVE_BUILTIN
|
||||||
#elif defined(__clang__)
|
|
||||||
#if __has_builtin(__builtin_add_overflow)
|
|
||||||
#define HAVE_BUILTIN
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in a new issue