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
94c0604e
Commit
94c0604e
authored
Oct 15, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imagehlp/tests: Compile with -D__WINESRC__.
parent
026b7114
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/imagehlp/tests/Makefile.in
+0
-1
integrity.c
dlls/imagehlp/tests/integrity.c
+4
-4
No files found.
dlls/imagehlp/tests/Makefile.in
View file @
94c0604e
TESTDLL
=
imagehlp.dll
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
image.c
\
...
...
dlls/imagehlp/tests/integrity.c
View file @
94c0604e
...
...
@@ -107,10 +107,10 @@ static BOOL copy_dll_file(void)
lstrcatA
(
sys_dir
,
"imagehlp.dll"
);
/* Copy DLL to a temp file */
GetTempPath
(
MAX_PATH
,
temp_path
);
GetTempFileName
(
temp_path
,
"img"
,
0
,
test_dll_path
);
GetTempPath
A
(
MAX_PATH
,
temp_path
);
GetTempFileName
A
(
temp_path
,
"img"
,
0
,
test_dll_path
);
if
(
CopyFile
(
sys_dir
,
test_dll_path
,
FALSE
)
==
0
)
if
(
CopyFile
A
(
sys_dir
,
test_dll_path
,
FALSE
)
==
0
)
{
skip
(
"Unable to create copy of imagehlp.dll for tests.
\n
"
);
return
FALSE
;
...
...
@@ -295,5 +295,5 @@ START_TEST(integrity)
ok
(
file_size
==
file_size_orig
,
"File size different after add and remove (old: %d; new: %d)
\n
"
,
file_size_orig
,
file_size
);
FreeLibrary
(
hImageHlp
);
DeleteFile
(
test_dll_path
);
DeleteFile
A
(
test_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