forked from len0rd/rockbox
abs() is abs and should work as abs when you want abs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1056 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8d718ee196
commit
b1fe81d8c7
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ void *calloc (size_t nmemb, size_t size);
|
|||
void free(void *);
|
||||
void *realloc(void *, size_t);
|
||||
|
||||
#define abs(x) ((x)>0?x:-x)
|
||||
#define abs(x) ((x)>0?(x):-(x))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue