From a06bbe2bec32ba896a250b4e5c6862fddddf944d Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Windows)" <rob@synchro.net> Date: Fri, 28 Apr 2023 15:01:05 -0700 Subject: [PATCH] Fix new build error introduced with GDI support unresolved external symbol _try_gdi_init referenced in function initciolib Function is dependent on WITH_GDI, not _WIN32 --- src/conio/ciolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conio/ciolib.c b/src/conio/ciolib.c index d6b544d72d..f4446a1254 100644 --- a/src/conio/ciolib.c +++ b/src/conio/ciolib.c @@ -459,7 +459,7 @@ CIOLIBEXPORT int initciolib(int mode) #ifndef NO_X if(!try_x_init(mode)) #endif -#ifdef _WIN32 +#if defined(WITH_GDI) if (!try_gdi_init(mode)) #endif #if defined(WITH_SDL) -- GitLab