File tree 1 file changed +0
-12
lines changed
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,6 @@ BOOL Validate_AllowDarkModeForWindow(const BYTE* functionPtr)
79
79
}
80
80
81
81
return FALSE;
82
- #elif defined(_M_ARM64 )
83
- /* No implementation needed for Windows 11 on Arm64 */
84
- functionPtr ; /* to prevent: warning C4100: 'functionPtr': unreferenced formal parameter */
85
- return TRUE;
86
82
#else
87
83
#error Unsupported processor type
88
84
#endif
@@ -133,10 +129,6 @@ BOOL Validate_AllowDarkModeForWindowWithTelemetryId(const BYTE* functionPtr)
133
129
}
134
130
135
131
return FALSE;
136
- #elif defined(_M_ARM64 )
137
- /* No implementation needed for Windows 11 on Arm64 */
138
- functionPtr ; /* to prevent: warning C4100: 'functionPtr': unreferenced formal parameter */
139
- return TRUE;
140
132
#else
141
133
#error Unsupported processor type
142
134
#endif
@@ -227,10 +219,6 @@ BOOL Validate_SetPreferredAppMode(const BYTE* functionPtr)
227
219
(functionPtr [0x00 ] == 0x8B ) && (functionPtr [0x01 ] == 0x05 ) && // mov eax,dword ptr [uxtheme!g_preferredAppMode]
228
220
(functionPtr [0x06 ] == 0x87 ) && (functionPtr [0x07 ] == 0x0D ) && // xchg ecx,dword ptr [uxtheme!g_preferredAppMode]
229
221
(functionPtr [0x0C ] == 0xC3 ); // ret
230
- #elif defined(_M_ARM64 )
231
- /* No implementation needed for Windows 11 on Arm64 */
232
- functionPtr ; /* to prevent: warning C4100: 'functionPtr': unreferenced formal parameter */
233
- return TRUE;
234
222
#else
235
223
#error Unsupported processor type
236
224
#endif
You can’t perform that action at this time.
0 commit comments