mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Long size fix
This commit is contained in:
parent
61222f8525
commit
ab1146d72a
1 changed files with 2 additions and 3 deletions
|
@ -9361,10 +9361,9 @@ BF_EXPORT void BF_CALLTYPE BfCompiler_SetOptions(BfCompiler* bfCompiler, BfProje
|
|||
options->mCLongSize = 4;
|
||||
if ((options->mMachineType == BfMachineType_AArch64) || (options->mMachineType == BfMachineType_x64))
|
||||
{
|
||||
if ((options->mPlatformType == BfPlatformType_macOS) || (options->mPlatformType == BfPlatformType_iOS) ||
|
||||
(options->mPlatformType == BfPlatformType_Linux) || (options->mPlatformType == BfPlatformType_Android))
|
||||
if (options->mPlatformType != BfPlatformType_Windows)
|
||||
options->mCLongSize = 8;
|
||||
}
|
||||
}
|
||||
|
||||
bfCompiler->mCodeGen.SetMaxThreads(maxWorkerThreads);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue