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
53bd7448
Commit
53bd7448
authored
Aug 26, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecrt0: Add fallback implementation for __wine_unix_call().
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ff04d8a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
unix_lib.c
dlls/winecrt0/unix_lib.c
+13
-0
No files found.
dlls/winecrt0/unix_lib.c
View file @
53bd7448
...
...
@@ -27,8 +27,10 @@
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "wine/unixlib.h"
static
NTSTATUS
(
__cdecl
*
p__wine_init_unix_lib
)(
HMODULE
,
DWORD
,
const
void
*
,
void
*
);
static
NTSTATUS
(
WINAPI
*
p__wine_unix_call
)(
unixlib_handle_t
,
unsigned
int
,
void
*
);
static
void
load_func
(
void
**
func
,
const
char
*
name
,
void
*
def
)
{
...
...
@@ -46,10 +48,21 @@ static NTSTATUS __cdecl fallback__wine_init_unix_lib( HMODULE module, DWORD reas
return
STATUS_DLL_NOT_FOUND
;
}
static
NTSTATUS
__cdecl
fallback__wine_unix_call
(
unixlib_handle_t
handle
,
unsigned
int
code
,
void
*
args
)
{
return
STATUS_DLL_NOT_FOUND
;
}
NTSTATUS
__cdecl
__wine_init_unix_lib
(
HMODULE
module
,
DWORD
reason
,
const
void
*
ptr_in
,
void
*
ptr_out
)
{
LOAD_FUNC
(
__wine_init_unix_lib
);
return
p__wine_init_unix_lib
(
module
,
reason
,
ptr_in
,
ptr_out
);
}
NTSTATUS
WINAPI
__wine_unix_call
(
unixlib_handle_t
handle
,
unsigned
int
code
,
void
*
args
)
{
LOAD_FUNC
(
__wine_unix_call
);
return
p__wine_unix_call
(
handle
,
code
,
args
);
}
#endif
/* _WIN32 */
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