From cf2e1890496773b46bef747fdce19c903d2e0d9f Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 27 Jul 2024 15:55:59 +0200 Subject: [PATCH] fix: Building issues on Fedora --- lib/libimhex/source/helpers/fs.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/libimhex/source/helpers/fs.cpp b/lib/libimhex/source/helpers/fs.cpp index 7bee4a94c..60647d5c5 100644 --- a/lib/libimhex/source/helpers/fs.cpp +++ b/lib/libimhex/source/helpers/fs.cpp @@ -39,18 +39,17 @@ #if defined(OS_LINUX) #if GLFW_VERSION_MAJOR == 3 && GLFW_VERSION_MINOR >= 4 #define GLFW_EXPOSE_NATIVE_X11 - #else - #define GLFW_EXPOSE_NATIVE_WAYLAND #endif #endif + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wunused-parameter" #include + #pragma GCC diagnostic pop #if defined(OS_LINUX) && GLFW_VERSION_MAJOR == 3 && GLFW_VERSION_MINOR >= 4 #if GLFW_VERSION_MAJOR == 3 && GLFW_VERSION_MINOR >= 4 #undef GLFW_EXPOSE_NATIVE_X11 - #else - #undef GLFW_EXPOSE_NATIVE_WAYLAND #endif #endif #if defined(OS_MACOS)