mscoree: Fix compilation on systems that don't support nameless unions.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b77688102a
commit
c1d4d82e15
|
@ -18,6 +18,8 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -319,7 +321,7 @@ HRESULT assembly_get_native_entrypoint(ASSEMBLY *assembly, NativeEntryPointFunc
|
|||
{
|
||||
if (assembly->corhdr->Flags & COMIMAGE_FLAGS_NATIVE_ENTRYPOINT)
|
||||
{
|
||||
*func = assembly_rva_to_va(assembly, assembly->corhdr->EntryPointRVA);
|
||||
*func = assembly_rva_to_va(assembly, assembly->corhdr->u.EntryPointRVA);
|
||||
return S_OK;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue