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
6b4ac997
Commit
6b4ac997
authored
Aug 21, 2014
by
Michael Müller
Committed by
Alexandre Julliard
Jun 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Set a valid major and minor linker version.
Some apps expect a nonzero linker version.
parent
0a0b0b46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec32.c
tools/winebuild/spec32.c
+4
-4
No files found.
tools/winebuild/spec32.c
View file @
6b4ac997
...
...
@@ -529,8 +529,8 @@ void output_module( DLLSPEC *spec )
spec
->
characteristics
);
output
(
"
\t
.short 0x%04x
\n
"
,
/* Magic */
get_ptr_size
()
==
8
?
IMAGE_NT_OPTIONAL_HDR64_MAGIC
:
IMAGE_NT_OPTIONAL_HDR32_MAGIC
);
output
(
"
\t
.byte
0
\n
"
);
/* MajorLinkerVersion */
output
(
"
\t
.byte
0
\n
"
);
/* MinorLinkerVersion */
output
(
"
\t
.byte
7
\n
"
);
/* MajorLinkerVersion */
output
(
"
\t
.byte
10
\n
"
);
/* MinorLinkerVersion */
output
(
"
\t
.long 0
\n
"
);
/* SizeOfCode */
output
(
"
\t
.long 0
\n
"
);
/* SizeOfInitializedData */
output
(
"
\t
.long 0
\n
"
);
/* SizeOfUninitializedData */
...
...
@@ -710,8 +710,8 @@ void output_fake_module( DLLSPEC *spec )
put_word
(
get_ptr_size
()
==
8
?
IMAGE_NT_OPTIONAL_HDR64_MAGIC
:
IMAGE_NT_OPTIONAL_HDR32_MAGIC
);
/* Magic */
put_byte
(
0
);
/* MajorLinkerVersion */
put_byte
(
0
);
/* MinorLinkerVersion */
put_byte
(
7
);
/* MajorLinkerVersion */
put_byte
(
10
);
/* MinorLinkerVersion */
put_dword
(
text_size
);
/* SizeOfCode */
put_dword
(
0
);
/* SizeOfInitializedData */
put_dword
(
0
);
/* SizeOfUninitializedData */
...
...
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