Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
abbde22d
Commit
abbde22d
authored
Feb 04, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chcp.com: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
08bd6db4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
programs/chcp.com/Makefile.in
+0
-1
main.c
programs/chcp.com/main.c
+2
-2
No files found.
programs/chcp.com/Makefile.in
View file @
abbde22d
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
chcp.com
IMPORTS
=
kernelbase
...
...
programs/chcp.com/main.c
View file @
abbde22d
...
...
@@ -56,7 +56,7 @@ static void output_formatstring(const WCHAR *fmt, va_list va_args)
fmt
,
0
,
0
,
(
WCHAR
*
)
&
str
,
0
,
&
va_args
);
if
(
!
len
&&
GetLastError
()
!=
ERROR_NO_WORK_DONE
)
{
WINE_FIXME
(
"Could not format string: le=%u, fmt=%s
\n
"
,
GetLastError
(),
wine_dbgstr_w
(
fmt
));
WINE_FIXME
(
"Could not format string: le=%
l
u, fmt=%s
\n
"
,
GetLastError
(),
wine_dbgstr_w
(
fmt
));
return
;
}
output_writeconsole
(
str
,
len
);
...
...
@@ -71,7 +71,7 @@ static void WINAPIV output_message(unsigned int id, ...)
if
(
!
(
len
=
LoadStringW
(
GetModuleHandleW
(
NULL
),
id
,
(
WCHAR
*
)
&
fmt
,
0
)))
{
WINE_FIXME
(
"LoadString failed with %d
\n
"
,
GetLastError
());
WINE_FIXME
(
"LoadString failed with %
l
d
\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