AK: Remove signbit definition to prevent conflict in FixedPoint

This commit is contained in:
nipos 2023-02-25 21:16:03 +01:00 committed by Andrew Kaster
parent aa9f1ee889
commit e35a858bde
Notes: sideshowbarker 2024-07-19 16:54:35 +09:00

View File

@ -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