source:
trunk/sys/dietlibc/llabs.c
@
270
Last change on this file since 270 was 1, checked in by , 8 years ago | |
---|---|
File size: 135 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include <endian.h> |
2 | #include <stdlib.h> | |
3 | ||
4 | #if __WORDSIZE != 64 | |
5 | long long int llabs(long long int i) { if (i<0) i=-i; return i; } | |
6 | #endif |
Note: See TracBrowser
for help on using the repository browser.