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
338e4ca0
Commit
338e4ca0
authored
Feb 21, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wevtsvc: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5c22bc55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
dlls/wevtsvc/Makefile.in
+0
-1
wevtsvc.c
dlls/wevtsvc/wevtsvc.c
+2
-2
No files found.
dlls/wevtsvc/Makefile.in
View file @
338e4ca0
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wevtsvc.dll
IMPORTS
=
rpcrt4 advapi32
...
...
dlls/wevtsvc/wevtsvc.c
View file @
338e4ca0
...
...
@@ -48,7 +48,7 @@ static void eventlog_update_status(DWORD state)
static
void
WINAPI
eventlog_handler
(
DWORD
control
)
{
TRACE
(
"%#x
\n
"
,
control
);
TRACE
(
"%#
l
x
\n
"
,
control
);
switch
(
control
)
{
...
...
@@ -71,7 +71,7 @@ void WINAPI ServiceMain(DWORD argc, LPWSTR *argv)
svc_handle
=
RegisterServiceCtrlHandlerW
(
L"EventLog"
,
eventlog_handler
);
if
(
!
svc_handle
)
{
ERR
(
"RegisterServiceCtrlHandler error %u
\n
"
,
GetLastError
());
ERR
(
"RegisterServiceCtrlHandler error %
l
u
\n
"
,
GetLastError
());
return
;
}
...
...
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