Commit a893fde3 authored by Deucе's avatar Deucе 👌🏾
Browse files

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

parent 88480afb
Pipeline #2200 failed with stage
in 9 minutes and 7 seconds
...@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment