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
e704f037
Commit
e704f037
authored
Feb 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bd298b4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
programs/start/Makefile.in
+0
-1
start.c
programs/start/start.c
+2
-2
No files found.
programs/start/Makefile.in
View file @
e704f037
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
start.exe
MODULE
=
start.exe
IMPORTS
=
shell32 user32
IMPORTS
=
shell32 user32
...
...
programs/start/start.c
View file @
e704f037
...
@@ -98,7 +98,7 @@ static void fatal_string_error(int which, DWORD error_code, const WCHAR *filenam
...
@@ -98,7 +98,7 @@ static void fatal_string_error(int which, DWORD error_code, const WCHAR *filenam
WCHAR
msg
[
2048
];
WCHAR
msg
[
2048
];
if
(
!
LoadStringW
(
GetModuleHandleW
(
NULL
),
which
,
msg
,
ARRAY_SIZE
(
msg
)))
if
(
!
LoadStringW
(
GetModuleHandleW
(
NULL
),
which
,
msg
,
ARRAY_SIZE
(
msg
)))
WINE_ERR
(
"LoadString failed, error %d
\n
"
,
GetLastError
());
WINE_ERR
(
"LoadString failed, error %
l
d
\n
"
,
GetLastError
());
fatal_error
(
msg
,
error_code
,
filename
);
fatal_error
(
msg
,
error_code
,
filename
);
}
}
...
@@ -108,7 +108,7 @@ static void fatal_string(int which)
...
@@ -108,7 +108,7 @@ static void fatal_string(int which)
WCHAR
msg
[
2048
];
WCHAR
msg
[
2048
];
if
(
!
LoadStringW
(
GetModuleHandleW
(
NULL
),
which
,
msg
,
ARRAY_SIZE
(
msg
)))
if
(
!
LoadStringW
(
GetModuleHandleW
(
NULL
),
which
,
msg
,
ARRAY_SIZE
(
msg
)))
WINE_ERR
(
"LoadString failed, error %d
\n
"
,
GetLastError
());
WINE_ERR
(
"LoadString failed, error %
l
d
\n
"
,
GetLastError
());
output
(
msg
);
output
(
msg
);
ExitProcess
(
1
);
ExitProcess
(
1
);
...
...
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