Hide SDL_wcstoll and SDL_wcstoull for compilers not supporting long long (#15808)

Co-authored-by: Sam Lantinga <slouken@libsdl.org>
This commit is contained in:
Anonymous Maarten 2026-06-11 20:33:06 +02:00 committed by GitHub
parent 72771ac0b4
commit f70ea37517
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3081,6 +3081,7 @@ extern SDL_DECLSPEC long SDLCALL SDL_wcstol(const wchar_t *str, wchar_t **endp,
*/
extern SDL_DECLSPEC unsigned long SDLCALL SDL_wcstoul(const wchar_t *str, wchar_t **endp, int base);
#ifndef SDL_NOLONGLONG
/**
* Parse a `long long` from a wide string.
*
@ -3137,6 +3138,8 @@ extern SDL_DECLSPEC long long SDLCALL SDL_wcstoll(const wchar_t *str, wchar_t **
*/
extern SDL_DECLSPEC unsigned long long SDLCALL SDL_wcstoull(const wchar_t *str, wchar_t **endp, int base);
#endif /* !SDL_NOLONGLONG */
/**
* This works exactly like strlen() but doesn't require access to a C runtime.
*