wnaspi32: Remove unnecessary DllMain implementation on non-Linux.
This commit is contained in:
parent
3f6c6dbbb3
commit
9222e4e0ea
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue