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
6c2e20ba
Commit
6c2e20ba
authored
Feb 24, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pstorec: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
88313bd1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
16 deletions
+1
-16
Makefile.in
dlls/pstorec/Makefile.in
+1
-1
pstorec.c
dlls/pstorec/pstorec.c
+0
-15
No files found.
dlls/pstorec/Makefile.in
View file @
6c2e20ba
MODULE
=
pstorec.dll
IMPORTS
=
uuid
EXTRADLLFLAGS
=
-mno-cygwin
EXTRADLLFLAGS
=
-mno-cygwin
-Wb
,--prefer-native
C_SRCS
=
\
pstorec.c
...
...
dlls/pstorec/pstorec.c
View file @
6c2e20ba
...
...
@@ -43,21 +43,6 @@ static inline PStore_impl *impl_from_IPStore(IPStore *iface)
return
CONTAINING_RECORD
(
iface
,
PStore_impl
,
IPStore_iface
);
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
TRACE
(
"%p %x %p
\n
"
,
hinst
,
fdwReason
,
fImpLoad
);
switch
(
fdwReason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hinst
);
break
;
}
return
TRUE
;
}
/**************************************************************************
* IPStore->QueryInterface
*/
...
...
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