mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
2c79eebb23
229 changed files with 212 additions and 23172 deletions
|
|
@ -103,10 +103,6 @@ NS_finite(double aNum)
|
|||
#ifdef WIN32
|
||||
// NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
|
||||
return !!_finite(aNum);
|
||||
#elif defined(XP_DARWIN)
|
||||
// Darwin has deprecated |finite| and recommends |isfinite|. The former is
|
||||
// not present in the iOS SDK.
|
||||
return std::isfinite(aNum);
|
||||
#else
|
||||
return finite(aNum);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue