mirror of
https://github.com/yshui/picom.git
synced 2024-12-02 14:15:41 -05:00
Merge pull request #288 from jbeich/dragonfly
Try to unbreak build on DragonFly
This commit is contained in:
commit
3ae94de7b7
1 changed files with 5 additions and 1 deletions
|
@ -94,7 +94,11 @@
|
|||
# define unreachable do {} while(0)
|
||||
#endif
|
||||
|
||||
#ifndef __STDC_NO_THREADS__
|
||||
#ifndef __has_include
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
|
||||
#if !defined(__STDC_NO_THREADS__) && __has_include(<threads.h>)
|
||||
# include <threads.h>
|
||||
#elif __STDC_VERSION__ >= 201112L
|
||||
# define thread_local _Thread_local
|
||||
|
|
Loading…
Reference in a new issue