mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-29 09:18:43 +00:00
move SDL_tcsstr definition to core/windows/SDL_windows.h
This commit is contained in:
parent
f414a43632
commit
f2bd861cd7
2 changed files with 6 additions and 6 deletions
|
|
@ -47,6 +47,12 @@
|
|||
#define WIN_UTF8ToString(S) SDL_iconv_string("ASCII", "UTF-8", (char *)(S), SDL_strlen(S)+1)
|
||||
#endif
|
||||
|
||||
#ifdef UNICODE
|
||||
#define SDL_tcsstr SDL_wcsstr
|
||||
#else
|
||||
#define SDL_tcsstr SDL_strstr
|
||||
#endif
|
||||
|
||||
/* Sets an error message based on a given HRESULT */
|
||||
extern int WIN_SetErrorFromHRESULT(const char *prefix, HRESULT hr);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue