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
4bcc492f
Commit
4bcc492f
authored
Mar 22, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Mar 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Add support for more architectures when building fake dlls.
parent
467b7696
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
fakedll.c
dlls/setupapi/fakedll.c
+7
-1
No files found.
dlls/setupapi/fakedll.c
View file @
4bcc492f
...
...
@@ -275,8 +275,14 @@ static BOOL build_fake_dll( HANDLE file, const WCHAR *name )
nt
=
info
.
nt
=
(
IMAGE_NT_HEADERS
*
)(
buffer
+
lfanew
);
/* some fields are copied from the source dll */
#if
def _WIN64
#if
defined __x86_64__
nt
->
FileHeader
.
Machine
=
IMAGE_FILE_MACHINE_AMD64
;
#elif defined __aarch64__
nt
->
FileHeader
.
Machine
=
IMAGE_FILE_MACHINE_ARMNT
;
#elif defined __arm__
nt
->
FileHeader
.
Machine
=
IMAGE_FILE_MACHINE_ARM64
;
#elif defined __powerpc__
nt
->
FileHeader
.
Machine
=
IMAGE_FILE_MACHINE_POWERPC
;
#else
nt
->
FileHeader
.
Machine
=
IMAGE_FILE_MACHINE_I386
;
#endif
...
...
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