mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
AK: Remove signbit definition to prevent conflict in FixedPoint
This commit is contained in:
parent
aa9f1ee889
commit
e35a858bde
Notes:
sideshowbarker
2024-07-19 16:54:35 +09:00
Author: https://github.com/ghost
Commit: e35a858bde
Pull-request: https://github.com/SerenityOS/serenity/pull/17623
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/elcuco
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
Reviewed-by: https://github.com/linusg
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@
|
|||
# include <AK/Math.h>
|
||||
#endif
|
||||
|
||||
// Solaris' definition of signbit in math_c99.h conflicts with our implementation.
|
||||
#ifdef AK_OS_SOLARIS
|
||||
# undef signbit
|
||||
#endif
|
||||
|
||||
namespace AK {
|
||||
|
||||
// FIXME: this always uses round to nearest break-tie to even
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue