diff --git a/src/conio/ciolib.c b/src/conio/ciolib.c index d6b544d72d5da175323cfd54bee6462cb1c20979..f4446a125472031bdd27d232222ef3fe3e849e73 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)