mirror of
https://github.com/yshui/picom.git
synced 2024-11-03 04:33:49 -05:00
Use __builtin_isnan
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
15c7abcf41
commit
532a90d573
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ __attribute__((optimize("-fno-fast-math")))
|
|||
#endif
|
||||
static inline bool
|
||||
safe_isnan(double a) {
|
||||
return isnan(a);
|
||||
return __builtin_isnan(a);
|
||||
}
|
||||
|
||||
#define CASESTRRET(s) \
|
||||
|
|
Loading…
Reference in a new issue