Define our own version of abs now that we compile with -ffreestanding by
default.
This commit is contained in:
parent
b2975fd8e9
commit
297a1610cf
@ -40,6 +40,8 @@
|
||||
#include <machine/db_machdep.h>
|
||||
#include <machine/instr.h>
|
||||
|
||||
#define abs(v) ((v) > 0 ? (v) : -(v))
|
||||
|
||||
#define SIGN(v) (((v)<0)?"-":"")
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user