summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-17 20:23:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-17 20:23:26 +0100
commite5a2523cbbd61f18161a8163c089cbbaedc76b84 (patch)
treed1a8d6468e8bff6044cb10936e9276ab2b8d88bd /loader
parent4e9dcd1697948f581be0f85c6d6d6670c61c09f5 (diff)
fix clang 18 warning
Diffstat (limited to 'loader')
-rw-r--r--loader/init.cpp2
1 files changed, 1 insertions, 1 deletions
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