mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-13 18:05:47 +00:00
Fix -Werror=unused-variable when building with SDL_LIBC=OFF
This commit is contained in:
parent
9be69b9365
commit
95dc4fbdd5
1 changed files with 1 additions and 0 deletions
|
|
@ -408,6 +408,7 @@ static SDL_INLINE void *get_sdlapi_entry(const char *fname, const char *sym)
|
|||
static void dynapi_warn(const char *msg)
|
||||
{
|
||||
const char *caption = "SDL Dynamic API Failure!";
|
||||
(void)caption;
|
||||
/* SDL_ShowSimpleMessageBox() is a too heavy for here. */
|
||||
#if (defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)) && !defined(__XBOXONE__) && !defined(__XBOXSERIES__)
|
||||
MessageBoxA(NULL, msg, caption, MB_OK | MB_ICONERROR);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue