Fix ignored attribute warning for x86/Linux build (dotnet/coreclr#8334)
authorJonghyun Park <parjong@gmail.com>
Tue, 29 Nov 2016 11:14:22 +0000 (20:14 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 29 Nov 2016 11:14:22 +0000 (12:14 +0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/3f85c4c9c5a0ad78a4ed0f12c389b5c50c4527d6

src/coreclr/src/vm/i386/cgencpu.h

index 2da9882..aacfd77 100644 (file)
@@ -476,7 +476,7 @@ inline BOOL IsUnmanagedValueTypeReturnedByRef(UINT sizeofvaluetype)
 }
 
 #include <pshpack1.h>
-DECLSPEC_ALIGN(4) struct UMEntryThunkCode
+struct DECLSPEC_ALIGN(4) UMEntryThunkCode
 {
     BYTE            m_alignpad[2];  // used to guarantee alignment of backpactched portion
     BYTE            m_movEAX;   //MOV EAX,imm32