We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f23b7b + 6ec518d commit 16dde54Copy full SHA for 16dde54
platform/windows/cpu_feature_validation.c
@@ -36,6 +36,10 @@ extern int WINAPI mainCRTStartup();
36
extern int WINAPI WinMainCRTStartup();
37
#endif
38
39
+#if defined(__GNUC__) || defined(__clang__)
40
+extern int WINAPI ShimMainCRTStartup() __attribute__((used));
41
+#endif
42
+
43
extern int WINAPI ShimMainCRTStartup() {
44
if (IsProcessorFeaturePresent(PF_SSE4_2_INSTRUCTIONS_AVAILABLE)) {
45
#ifdef WINDOWS_SUBSYSTEM_CONSOLE
0 commit comments