Skip to content

Commit cc01298

Browse files
authored
Include xmmintrin.h early on x86 as well (#113279)
* Include xmmintrin.h early on X86 as well * Don't extern "C" main
1 parent 035ee5c commit cc01298

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/coreclr/vm/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474
#include <olectl.h>
7575

76-
#ifdef HOST_AMD64
76+
#if defined(HOST_AMD64) || defined(HOST_X86)
7777
#include <xmmintrin.h>
7878
#endif
7979

src/tests/Interop/DllImportAttribute/DllImportPath/DllImportPathNative.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extern "C" DLL_EXPORT int STDMETHODCALLTYPE GetZero()
1010

1111
#ifdef EXE
1212

13-
extern "C" int __cdecl main(int argc, char **argv)
13+
int __cdecl main(int argc, char **argv)
1414
{
1515
return 0;
1616
}

0 commit comments

Comments
 (0)