diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2021-02-09 03:12:26 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2021-02-09 03:14:08 +0000 |
| commit | e19db15104a2fcb0df4f59cea117a1025b3affe5 (patch) | |
| tree | 9a16c7bd860511a1ae5787cd1a1be5dd5048e59d /render.c | |
| parent | Merge branch 'refactor-key-bindings' (diff) | |
render: use portable HAS_INCLUDE() wrapper instead of __has_include()
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ #include <sys/timerfd.h> #include <sys/epoll.h> #include <pthread.h> -#if __has_include(<pthread_np.h>) + +#include "macros.h" +#if HAS_INCLUDE(<pthread_np.h>) #include <pthread_np.h> #define pthread_setname_np(thread, name) (pthread_set_name_np(thread, name), 0) #elif defined(__NetBSD__) |
