From ab1146d72a022f9b72ec747d61d4820846879dd3 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 3 Dec 2021 05:58:34 -0800 Subject: [PATCH] Long size fix --- IDEHelper/Compiler/BfCompiler.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/IDEHelper/Compiler/BfCompiler.cpp b/IDEHelper/Compiler/BfCompiler.cpp index 08a0858d..7abcc6f1 100644 --- a/IDEHelper/Compiler/BfCompiler.cpp +++ b/IDEHelper/Compiler/BfCompiler.cpp @@ -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);