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
e68d5b93
Commit
e68d5b93
authored
Jun 22, 2012
by
Thomas Faber
Committed by
Alexandre Julliard
Jun 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Fix build with MSVC.
parent
8e2efc19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
softpub.c
dlls/wintrust/tests/softpub.c
+5
-5
No files found.
dlls/wintrust/tests/softpub.c
View file @
e68d5b93
...
...
@@ -568,7 +568,7 @@ struct Imports {
}
ibn
;
char
dllname
[
0x10
];
};
#define EXIT_PROCESS (VA_START+RVA_IDATA+FIELD_OFFSET(struct Imports, thunks
[0]
))
#define EXIT_PROCESS (VA_START+RVA_IDATA+FIELD_OFFSET(struct Imports, thunks))
static
struct
_PeImage
{
IMAGE_DOS_HEADER
dos_header
;
...
...
@@ -582,9 +582,9 @@ static struct _PeImage {
char
__alignment3
[
FILE_TOTAL
-
FILE_IDATA
-
sizeof
(
struct
Imports
)];
}
bin
=
{
/* dos header */
{
IMAGE_DOS_SIGNATURE
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
{
},
0
,
0
,
{
},
FILE_PE_START
},
{
IMAGE_DOS_SIGNATURE
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
{
0
},
0
,
0
,
{
0
},
FILE_PE_START
},
/* alignment before PE header */
{},
{
0
},
/* nt headers */
{
IMAGE_NT_SIGNATURE
,
/* basic headers - 3 sections, no symbols, EXE file */
...
...
@@ -611,7 +611,7 @@ static struct _PeImage {
0
,
0
,
0
,
IMAGE_SCN_CNT_INITIALIZED_DATA
|
IMAGE_SCN_MEM_READ
|
IMAGE_SCN_MEM_WRITE
}
},
/* alignment before first section */
{},
{
0
},
/* .text section */
{
0x31
,
0xC0
,
/* xor eax, eax */
...
...
@@ -634,7 +634,7 @@ static struct _PeImage {
"KERNEL32.DLL"
},
/* final alignment */
{}
{
0
}
};
#include <poppack.h>
...
...
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