Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
be493aa6
Commit
be493aa6
authored
Feb 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whoami: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bae8ef75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
programs/whoami/Makefile.in
+0
-1
main.c
programs/whoami/main.c
+2
-2
No files found.
programs/whoami/Makefile.in
View file @
be493aa6
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
whoami.exe
IMPORTS
=
secur32
...
...
programs/whoami/main.c
View file @
be493aa6
...
...
@@ -70,7 +70,7 @@ int __cdecl wmain(int argc, WCHAR *argv[])
result
=
GetUserNameExW
(
NameSamCompatible
,
NULL
,
&
size
);
if
(
result
||
GetLastError
()
!=
ERROR_MORE_DATA
)
{
WINE_ERR
(
"GetUserNameExW failed, result %d, error %d
\n
"
,
result
,
GetLastError
());
WINE_ERR
(
"GetUserNameExW failed, result %d, error %
l
d
\n
"
,
result
,
GetLastError
());
return
1
;
}
...
...
@@ -88,7 +88,7 @@ int __cdecl wmain(int argc, WCHAR *argv[])
output_write
(
L"
\r\n
"
,
2
);
}
else
WINE_ERR
(
"GetUserNameExW failed, error %d
\n
"
,
GetLastError
());
WINE_ERR
(
"GetUserNameExW failed, error %
l
d
\n
"
,
GetLastError
());
HeapFree
(
GetProcessHeap
(),
0
,
buf
);
return
0
;
...
...
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