File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6565
6666// Initialization/Cleanup routines
6767#include "timer/SDL_timer_c.h"
68- #ifdef SDL_VIDEO_DRIVER_WINDOWS
68+ #ifdef SDL_PLATFORM_WINDOWS
6969extern bool SDL_HelperWindowCreate (void );
7070extern void SDL_HelperWindowDestroy (void );
7171#endif
@@ -317,7 +317,7 @@ bool SDL_InitSubSystem(SDL_InitFlags flags)
317317 SDL_DBus_Init ();
318318#endif
319319
320- #ifdef SDL_VIDEO_DRIVER_WINDOWS
320+ #ifdef SDL_PLATFORM_WINDOWS
321321 if (flags & (SDL_INIT_HAPTIC | SDL_INIT_JOYSTICK )) {
322322 if (!SDL_HelperWindowCreate ()) {
323323 goto quit_and_error ;
@@ -653,7 +653,7 @@ void SDL_Quit(void)
653653 SDL_bInMainQuit = true;
654654
655655 // Quit all subsystems
656- #ifdef SDL_VIDEO_DRIVER_WINDOWS
656+ #ifdef SDL_PLATFORM_WINDOWS
657657 SDL_HelperWindowDestroy ();
658658#endif
659659 SDL_QuitSubSystem (SDL_INIT_EVERYTHING );
You can’t perform that action at this time.
0 commit comments