mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed DllMain
This commit is contained in:
parent
7c6c2f20e6
commit
463ef98789
1 changed files with 1 additions and 1 deletions
|
@ -1674,7 +1674,7 @@ void BfCompiler::CreateVData(BfVDataModule* bfModule)
|
|||
|
||||
bool mainHasArgs = (targetType != BfTargetType_BeefLib_DynamicLib) && (targetType != BfTargetType_BeefLib_StaticLib) &&
|
||||
(mOptions.mPlatformType != BfPlatformType_Wasm);
|
||||
bool mainHasRet = (targetType != BfTargetType_BeefLib_DynamicLib) && (targetType != BfTargetType_BeefLib_StaticLib);
|
||||
bool mainHasRet = ((targetType != BfTargetType_BeefLib_DynamicLib) && (targetType != BfTargetType_BeefLib_StaticLib)) || (isDllMain);
|
||||
|
||||
// Generate "main"
|
||||
if (!IsHotCompile())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue