Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c110a55f
Commit
c110a55f
authored
Mar 19, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
Mar 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Search for an arch-specific mono dll first.
parent
4cd00f2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
metahost.c
dlls/mscoree/metahost.c
+16
-1
No files found.
dlls/mscoree/metahost.c
View file @
c110a55f
...
...
@@ -564,6 +564,14 @@ HRESULT ICLRRuntimeInfo_GetRuntimeHost(ICLRRuntimeInfo *iface, RuntimeHost **res
return
CLRRuntimeInfo_GetRuntimeHost
(
This
,
result
);
}
#ifdef __i386__
static
const
WCHAR
libmono2_arch_dll
[]
=
{
'\\'
,
'b'
,
'i'
,
'n'
,
'\\'
,
'l'
,
'i'
,
'b'
,
'm'
,
'o'
,
'n'
,
'o'
,
'-'
,
'2'
,
'.'
,
'0'
,
'-'
,
'x'
,
'8'
,
'6'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
#elif defined(__x86_64__)
static
const
WCHAR
libmono2_arch_dll
[]
=
{
'\\'
,
'b'
,
'i'
,
'n'
,
'\\'
,
'l'
,
'i'
,
'b'
,
'm'
,
'o'
,
'n'
,
'o'
,
'-'
,
'2'
,
'.'
,
'0'
,
'-'
,
'x'
,
'8'
,
'6'
,
'_'
,
'6'
,
'4'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
#else
static
const
WCHAR
libmono2_arch_dll
[]
=
{
'\\'
,
'b'
,
'i'
,
'n'
,
'\\'
,
'l'
,
'i'
,
'b'
,
'm'
,
'o'
,
'n'
,
'o'
,
'-'
,
'2'
,
'.'
,
'0'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
#endif
static
BOOL
find_mono_dll
(
LPCWSTR
path
,
LPWSTR
dll_path
,
int
abi_version
)
{
static
const
WCHAR
mono_dll
[]
=
{
'\\'
,
'b'
,
'i'
,
'n'
,
'\\'
,
'm'
,
'o'
,
'n'
,
'o'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
...
...
@@ -588,12 +596,19 @@ static BOOL find_mono_dll(LPCWSTR path, LPWSTR dll_path, int abi_version)
else
if
(
abi_version
==
2
)
{
strcpyW
(
dll_path
,
path
);
strcatW
(
dll_path
,
mono2
_dll
);
strcatW
(
dll_path
,
libmono2_arch
_dll
);
attributes
=
GetFileAttributesW
(
dll_path
);
if
(
attributes
==
INVALID_FILE_ATTRIBUTES
)
{
strcpyW
(
dll_path
,
path
);
strcatW
(
dll_path
,
mono2_dll
);
attributes
=
GetFileAttributesW
(
dll_path
);
}
if
(
attributes
==
INVALID_FILE_ATTRIBUTES
)
{
strcpyW
(
dll_path
,
path
);
strcatW
(
dll_path
,
libmono2_dll
);
attributes
=
GetFileAttributesW
(
dll_path
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment