File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,7 +160,8 @@ static bool font_init_first(
160160 }
161161 }
162162#endif
163- #if defined(HAVE_SDL2 ) && SDL_VERSION_ATLEAST (2 , 0 , 18 )
163+ #ifdef HAVE_SDL2
164+ #if SDL_VERSION_ATLEAST (2 , 0 , 18 )
164165 case FONT_DRIVER_RENDER_SDL2 :
165166 {
166167 void * data = sdl2_raster_font .init (video_data ,
@@ -174,6 +175,7 @@ static bool font_init_first(
174175 }
175176 break ;
176177#endif
178+ #endif
177179#ifdef HAVE_D3D8
178180 case FONT_DRIVER_RENDER_D3D8_API :
179181 {
Original file line number Diff line number Diff line change @@ -111,8 +111,10 @@ static gfx_display_ctx_driver_t *gfx_display_ctx_drivers[] = {
111111 & gfx_display_ctx_gdi ,
112112#endif
113113#endif
114- #if defined(HAVE_SDL2 ) && SDL_VERSION_ATLEAST (2 , 0 , 18 )
114+ #ifdef HAVE_SDL2
115+ #if SDL_VERSION_ATLEAST (2 , 0 , 18 )
115116 & gfx_display_ctx_sdl2 ,
117+ #endif
116118#endif
117119 NULL ,
118120};
You can’t perform that action at this time.
0 commit comments