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
b1cf39d0
Commit
b1cf39d0
authored
Oct 14, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Compile tests with -D__WINESRC__.
parent
71d1df73
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
dlls/vbscript/tests/Makefile.in
+0
-1
createobj.c
dlls/vbscript/tests/createobj.c
+1
-1
run.c
dlls/vbscript/tests/run.c
+1
-1
No files found.
dlls/vbscript/tests/Makefile.in
View file @
b1cf39d0
TESTDLL
=
vbscript.dll
TESTDLL
=
vbscript.dll
IMPORTS
=
oleaut32 ole32 advapi32
IMPORTS
=
oleaut32 ole32 advapi32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
C_SRCS
=
\
createobj.c
\
createobj.c
\
...
...
dlls/vbscript/tests/createobj.c
View file @
b1cf39d0
...
@@ -1042,7 +1042,7 @@ static BOOL init_key(const char *key_name, const char *def_value, BOOL init)
...
@@ -1042,7 +1042,7 @@ static BOOL init_key(const char *key_name, const char *def_value, BOOL init)
DWORD
res
;
DWORD
res
;
if
(
!
init
)
{
if
(
!
init
)
{
RegDeleteKey
(
HKEY_CLASSES_ROOT
,
key_name
);
RegDeleteKey
A
(
HKEY_CLASSES_ROOT
,
key_name
);
return
TRUE
;
return
TRUE
;
}
}
...
...
dlls/vbscript/tests/run.c
View file @
b1cf39d0
...
@@ -1726,7 +1726,7 @@ static BSTR get_script_from_file(const char *filename)
...
@@ -1726,7 +1726,7 @@ static BSTR get_script_from_file(const char *filename)
size
=
GetFileSize
(
file
,
NULL
);
size
=
GetFileSize
(
file
,
NULL
);
map
=
CreateFileMapping
(
file
,
NULL
,
PAGE_READONLY
,
0
,
0
,
NULL
);
map
=
CreateFileMapping
W
(
file
,
NULL
,
PAGE_READONLY
,
0
,
0
,
NULL
);
CloseHandle
(
file
);
CloseHandle
(
file
);
if
(
map
==
INVALID_HANDLE_VALUE
)
{
if
(
map
==
INVALID_HANDLE_VALUE
)
{
trace
(
"Could not create file mapping: %u
\n
"
,
GetLastError
());
trace
(
"Could not create file mapping: %u
\n
"
,
GetLastError
());
...
...
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