mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Put assertions behind a DEBUG flag to make it easy to build without them.
This commit is contained in:
@@ -5,25 +5,25 @@ extern "C" {
|
||||
|
||||
double cos(double)
|
||||
{
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
double sin(double)
|
||||
{
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
double pow(double x, double y)
|
||||
{
|
||||
(void)x;
|
||||
(void)y;
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
double ldexp(double, int exp)
|
||||
{
|
||||
(void)exp;
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user