From e4525defa3d3669b94a2cb30b06f8a4c947ec882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sat, 15 May 2021 04:08:25 -0400 Subject: [PATCH] try_x_init() doesn't need to be guarded by win32 either. --- src/conio/ciolib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conio/ciolib.c b/src/conio/ciolib.c index 109d5cdb35..a1bd3c2a1d 100644 --- a/src/conio/ciolib.c +++ b/src/conio/ciolib.c @@ -200,8 +200,7 @@ static int try_sdl_init(int mode) } #endif -#ifndef _WIN32 - #ifndef NO_X +#ifndef NO_X static int try_x_init(int mode) { #if defined(WITH_SDL) @@ -255,8 +254,9 @@ static int try_x_init(int mode) } return(0); } - #endif +#endif +#ifndef _WIN32 static int try_curses_init(int mode) { #if defined(WITH_SDL) -- GitLab