| 796 | } |
| 797 | |
| 798 | char * |
| 799 | SDL_lltoa(Sint64 value, char *string, int radix) |
| 800 | { |
| 801 | #if defined(HAVE__I64TOA) |
| 802 | return _i64toa(value, string, radix); |
| 803 | #else |
| 804 | char *bufp = string; |
| 805 | |
| 806 | if (value < 0) { |
| 807 | *bufp++ = '-'; |
| 808 | SDL_ulltoa(-value, bufp, radix); |
| 809 | } else { |
| 810 | SDL_ulltoa(value, bufp, radix); |
| 811 | } |
| 812 | |
| 813 | return string; |
| 814 | #endif /* HAVE__I64TOA */ |
| 815 | } |
| 816 | |
| 817 | char * |
| 818 | SDL_ulltoa(Uint64 value, char *string, int radix) |
no test coverage detected