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
9222e4e0
Commit
9222e4e0
authored
May 16, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wnaspi32: Remove unnecessary DllMain implementation on non-Linux.
parent
3f6c6dbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
winaspi32.c
dlls/wnaspi32/winaspi32.c
+0
-6
No files found.
dlls/wnaspi32/winaspi32.c
View file @
9222e4e0
...
...
@@ -63,12 +63,9 @@ static CRITICAL_SECTION_DEBUG critsect_debug =
};
static
CRITICAL_SECTION
ASPI_CritSection
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
#endif
/* defined(linux) */
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
#ifdef linux
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
...
...
@@ -80,13 +77,10 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
DeleteCriticalSection
(
&
ASPI_CritSection
);
break
;
}
#endif
/* defined(linux) */
return
TRUE
;
}
#ifdef linux
static
int
ASPI_OpenDevice
(
SRB_ExecSCSICmd
*
prb
)
{
...
...
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