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
71d1df73
Commit
71d1df73
authored
Oct 14, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Compile tests with -D__WINESRC__.
parent
ceeff119
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
dlls/jscript/tests/Makefile.in
+0
-1
activex.c
dlls/jscript/tests/activex.c
+1
-1
run.c
dlls/jscript/tests/run.c
+1
-1
No files found.
dlls/jscript/tests/Makefile.in
View file @
71d1df73
TESTDLL
=
jscript.dll
IMPORTS
=
oleaut32 ole32 advapi32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
activex.c
\
...
...
dlls/jscript/tests/activex.c
View file @
71d1df73
...
...
@@ -1088,7 +1088,7 @@ static BOOL init_key(const char *key_name, const char *def_value, BOOL init)
DWORD
res
;
if
(
!
init
)
{
RegDeleteKey
(
HKEY_CLASSES_ROOT
,
key_name
);
RegDeleteKey
A
(
HKEY_CLASSES_ROOT
,
key_name
);
return
TRUE
;
}
...
...
dlls/jscript/tests/run.c
View file @
71d1df73
...
...
@@ -1739,7 +1739,7 @@ static BSTR get_script_from_file(const char *filename)
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
);
if
(
map
==
INVALID_HANDLE_VALUE
)
{
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