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
7641cef0
Commit
7641cef0
authored
Oct 15, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/tests: Compile with -D__WINESRC__.
parent
b70a5d52
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
programs/cmd/tests/Makefile.in
+0
-1
batch.c
programs/cmd/tests/batch.c
+3
-3
No files found.
programs/cmd/tests/Makefile.in
View file @
7641cef0
TESTDLL
=
cmd.exe
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
batch.c
...
...
programs/cmd/tests/batch.c
View file @
7641cef0
...
...
@@ -139,9 +139,9 @@ static DWORD map_file(const char *file_name, const char **ret)
size
=
GetFileSize
(
file
,
NULL
);
map
=
CreateFileMapping
(
file
,
NULL
,
PAGE_READONLY
,
0
,
0
,
NULL
);
map
=
CreateFileMapping
A
(
file
,
NULL
,
PAGE_READONLY
,
0
,
0
,
NULL
);
CloseHandle
(
file
);
ok
(
map
!=
NULL
,
"CreateFileMapping(%s) failed: %u
\n
"
,
file_name
,
GetLastError
());
ok
(
map
!=
NULL
,
"CreateFileMapping
A
(%s) failed: %u
\n
"
,
file_name
,
GetLastError
());
if
(
!
map
)
return
0
;
...
...
@@ -408,7 +408,7 @@ static DWORD load_resource(const char *name, const char *type, const char **ret)
return
size
;
}
static
BOOL
WINAPI
test_enum_proc
(
HMODULE
module
,
LPC
T
STR
type
,
LPSTR
name
,
LONG_PTR
param
)
static
BOOL
WINAPI
test_enum_proc
(
HMODULE
module
,
LPCSTR
type
,
LPSTR
name
,
LONG_PTR
param
)
{
const
char
*
cmd_data
,
*
out_data
;
DWORD
cmd_size
,
out_size
;
...
...
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