1
0
Fork 0
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:
Brian Fiete 2021-12-03 05:58:34 -08:00
parent 61222f8525
commit ab1146d72a

View file

@ -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);