mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-02-02 08:41:00 +00:00
Fixed building SDL_dynapi.c without stdio support
This commit is contained in:
parent
345c161feb
commit
432ee7d8ad
|
@ -270,7 +270,7 @@ static void dynapi_warn(const char *msg)
|
||||||
/* SDL_ShowSimpleMessageBox() is a too heavy for here. */
|
/* SDL_ShowSimpleMessageBox() is a too heavy for here. */
|
||||||
#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
|
#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
|
||||||
MessageBoxA(NULL, msg, caption, MB_OK | MB_ICONERROR);
|
MessageBoxA(NULL, msg, caption, MB_OK | MB_ICONERROR);
|
||||||
#else
|
#elif defined(HAVE_STDIO_H)
|
||||||
fprintf(stderr, "\n\n%s\n%s\n\n", caption, msg);
|
fprintf(stderr, "\n\n%s\n%s\n\n", caption, msg);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue