From e5a2523cbbd61f18161a8163c089cbbaedc76b84 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 17 Mar 2024 20:23:15 +0100 Subject: fix clang 18 warning --- loader/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/init.cpp b/loader/init.cpp index 55cbaa6d..f2ff4af0 100644 --- a/loader/init.cpp +++ b/loader/init.cpp @@ -11,7 +11,7 @@ extern "C" __declspec(dllimport) long WINAPI RtlGetVersion(PRTL_OSVERSIONINFOEXW #ifdef _MSC_VER #pragma comment(lib, "ntdll.lib") #endif -#if defined __GNUG__ && !defined __clang__ +#if defined __GNUG__ #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #endif #endif // _WIN32 -- cgit v1.2.3