mirror of
https://github.com/winfsp/winfsp.git
synced 2025-12-26 22:12:44 -06:00
dll: support /NODEFAULTLIB builds
This commit is contained in:
@@ -21,3 +21,11 @@ BOOL WINAPI DllMain(HINSTANCE Instance, DWORD Reason, PVOID Reserved)
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* see comments in library.h */
|
||||
#if defined(WINFSP_DLL_NODEFAULTLIB)
|
||||
BOOL WINAPI _DllMainCRTStartup(HINSTANCE Instance, DWORD Reason, PVOID Reserved)
|
||||
{
|
||||
return DllMain(Instance, Reason, Reserved);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user