Fixed building on Windows with SDL_VIDEO=OFF

Fixes https://github.com/libsdl-org/SDL/issues/6562
This commit is contained in:
Sam Lantinga
2022-11-29 09:26:29 -08:00
parent 8901297437
commit 6873082c34
3 changed files with 58 additions and 0 deletions

View File

@@ -31,7 +31,11 @@
/*
* External stuff.
*/
#ifdef SDL_VIDEO_DRIVER_WINDOWS
extern HWND SDL_HelperWindow;
#else
static const HWND SDL_HelperWindow = NULL;
#endif
/*