enable to build WIN32CROSS=1 API=sdl2

This commit is contained in:
Thomas Bernard
2019-01-22 12:09:17 +01:00
parent 7a2aa2811f
commit 5377b8c9fe
2 changed files with 9 additions and 1 deletions

View File

@@ -1374,7 +1374,7 @@ int Get_input(int sleep_time)
#endif
case SDL_SYSWMEVENT:
#ifdef __WIN32__
#if defined(USE_SDL) && defined(__WIN32__)
if(event.syswm.msg->msg == WM_DROPFILES)
{
int file_count;