mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
AK: Make sure we don't include Math.h or math.h from KERNEL
This commit is contained in:
parent
bc7c8879c5
commit
83603d68d2
4 changed files with 19 additions and 6 deletions
|
@ -11,6 +11,10 @@
|
|||
#include <AK/StdLibExtraDetails.h>
|
||||
#include <AK/Types.h>
|
||||
|
||||
#ifdef KERNEL
|
||||
# error "Including AK/Math.h from the Kernel is never correct! Floating point is disabled."
|
||||
#endif
|
||||
|
||||
namespace AK {
|
||||
|
||||
template<FloatingPoint T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue