Skip to content
Snippets Groups Projects
Commit a893fde3 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

try_x_init() doesn't need to be guarded by win32 either.

parent 88480afb
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2200 failed
...@@ -200,8 +200,7 @@ static int try_sdl_init(int mode) ...@@ -200,8 +200,7 @@ static int try_sdl_init(int mode)
} }
#endif #endif
#ifndef _WIN32 #ifndef NO_X
#ifndef NO_X
static int try_x_init(int mode) static int try_x_init(int mode)
{ {
#if defined(WITH_SDL) #if defined(WITH_SDL)
...@@ -255,8 +254,9 @@ static int try_x_init(int mode) ...@@ -255,8 +254,9 @@ static int try_x_init(int mode)
} }
return(0); return(0);
} }
#endif #endif
#ifndef _WIN32
static int try_curses_init(int mode) static int try_curses_init(int mode)
{ {
#if defined(WITH_SDL) #if defined(WITH_SDL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment