From 616c89918074b171869dfc20b1eb8b86307162e1 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 17 Mar 2025 15:17:55 -0400 Subject: [PATCH] GetTickCount linux fix --- IDEHelper/Compiler/BfCompiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IDEHelper/Compiler/BfCompiler.cpp b/IDEHelper/Compiler/BfCompiler.cpp index a595bf25..d586c8f0 100644 --- a/IDEHelper/Compiler/BfCompiler.cpp +++ b/IDEHelper/Compiler/BfCompiler.cpp @@ -7020,7 +7020,7 @@ bool BfCompiler::DoCompile(const StringImpl& outputDirectory) { BP_ZONE("BfCompiler::Compile"); - uint32 frontendStartTick = GetTickCount(); + uint32 frontendStartTick = BFTickCount(); if (mSystem->mTypeDefs.mCount == 0) { @@ -7833,7 +7833,7 @@ bool BfCompiler::DoCompile(const StringImpl& outputDirectory) BpLeave(); BpEnter("Compile_Finish"); - int frontendTicks = (int)(GetTickCount() - frontendStartTick); + int frontendTicks = (int)(BFTickCount() - frontendStartTick); //TODO:!! //mCanceling = true;