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: https://github.com/SerenityOS/serenity/commit/e35a858bde0 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
Reference in a new issue