mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
_uitoa does not exist
This commit is contained in:
parent
55388abb34
commit
08e338f45c
7 changed files with 6 additions and 15 deletions
|
|
@ -1153,6 +1153,11 @@ static const char ntoa_table[] = {
|
|||
};
|
||||
#endif // ntoa() conversion table
|
||||
|
||||
char *SDL_uitoa(unsigned int value, char *string, int radix)
|
||||
{
|
||||
return SDL_ultoa((unsigned long)value, string, radix);
|
||||
}
|
||||
|
||||
char *SDL_itoa(int value, char *string, int radix)
|
||||
{
|
||||
#ifdef HAVE_ITOA
|
||||
|
|
@ -1162,15 +1167,6 @@ char *SDL_itoa(int value, char *string, int radix)
|
|||
#endif // HAVE_ITOA
|
||||
}
|
||||
|
||||
char *SDL_uitoa(unsigned int value, char *string, int radix)
|
||||
{
|
||||
#ifdef HAVE__UITOA
|
||||
return _uitoa(value, string, radix);
|
||||
#else
|
||||
return SDL_ultoa((unsigned long)value, string, radix);
|
||||
#endif // HAVE__UITOA
|
||||
}
|
||||
|
||||
char *SDL_ltoa(long value, char *string, int radix)
|
||||
{
|
||||
#ifdef HAVE__LTOA
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue