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
b5e2f767
Commit
b5e2f767
authored
Apr 29, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expand: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5bf6ab71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Makefile.in
programs/expand/Makefile.in
+2
-1
expand.c
programs/expand/expand.c
+4
-4
No files found.
programs/expand/Makefile.in
View file @
b5e2f767
MODULE
=
expand.exe
APPMODE
=
-mconsole
IMPORTS
=
setupapi
EXTRADLLFLAGS
=
-mconsole
-mno-cygwin
C_SRCS
=
expand.c
programs/expand/expand.c
View file @
b5e2f767
...
...
@@ -26,18 +26,18 @@
#include <lzexpand.h>
#include <setupapi.h>
static
int
myprintf
(
const
char
*
format
,
...)
static
int
WINAPIV
myprintf
(
const
char
*
format
,
...)
{
va_list
va
;
__ms_va_list
va
;
char
tmp
[
8192
];
DWORD
w
=
0
;
int
len
;
va_start
(
va
,
format
);
__ms_
va_start
(
va
,
format
);
len
=
vsnprintf
(
tmp
,
sizeof
(
tmp
),
format
,
va
);
if
(
len
>
0
)
WriteFile
(
GetStdHandle
(
STD_ERROR_HANDLE
),
tmp
,
len
,
&
w
,
NULL
);
va_end
(
va
);
__ms_
va_end
(
va
);
return
w
;
}
...
...
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