Add an labs() macro - needed by Tremor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6014 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9f0d4a1f65
commit
8243127dc4
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ void srand(unsigned int seed);
|
||||||
int rand(void);
|
int rand(void);
|
||||||
|
|
||||||
#define abs(x) ((x)>0?(x):-(x))
|
#define abs(x) ((x)>0?(x):-(x))
|
||||||
|
#define labs(x) abs(x)
|
||||||
|
|
||||||
#ifdef SIMULATOR
|
#ifdef SIMULATOR
|
||||||
void exit(int status);
|
void exit(int status);
|
||||||
|
|
Loading…
Reference in a new issue