diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_custom.c b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_custom.c index cddc8d5f17..606f5bcb00 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_custom.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_custom.c @@ -79,10 +79,6 @@ BOOL Validate_AllowDarkModeForWindow(const BYTE* functionPtr) } return FALSE; -#elif defined(_M_ARM64) - /* No implementation needed for Windows 11 on Arm64 */ - functionPtr; /* to prevent: warning C4100: 'functionPtr': unreferenced formal parameter */ - return TRUE; #else #error Unsupported processor type #endif @@ -133,10 +129,6 @@ BOOL Validate_AllowDarkModeForWindowWithTelemetryId(const BYTE* functionPtr) } return FALSE; -#elif defined(_M_ARM64) - /* No implementation needed for Windows 11 on Arm64 */ - functionPtr; /* to prevent: warning C4100: 'functionPtr': unreferenced formal parameter */ - return TRUE; #else #error Unsupported processor type #endif @@ -227,10 +219,6 @@ BOOL Validate_SetPreferredAppMode(const BYTE* functionPtr) (functionPtr[0x00] == 0x8B) && (functionPtr[0x01] == 0x05) && // mov eax,dword ptr [uxtheme!g_preferredAppMode] (functionPtr[0x06] == 0x87) && (functionPtr[0x07] == 0x0D) && // xchg ecx,dword ptr [uxtheme!g_preferredAppMode] (functionPtr[0x0C] == 0xC3); // ret -#elif defined(_M_ARM64) - /* No implementation needed for Windows 11 on Arm64 */ - functionPtr; /* to prevent: warning C4100: 'functionPtr': unreferenced formal parameter */ - return TRUE; #else #error Unsupported processor type #endif