fix(solution): HOLY SHIT IT'S COMPILING

This commit is contained in:
Mohamed Ashraf
2026-03-02 09:38:48 +04:00
parent 401d8fec96
commit 96e219ee1e
13 changed files with 46 additions and 32 deletions

View File

@@ -3,7 +3,7 @@
PerformanceTimer::PerformanceTimer()
{
#ifndef _CONTENT_PACKAGE
#if !defined (__linux__)
// Get the frequency of the timer
LARGE_INTEGER qwTicksPerSec;
QueryPerformanceFrequency( &qwTicksPerSec );
@@ -15,14 +15,14 @@ PerformanceTimer::PerformanceTimer()
void PerformanceTimer::Reset()
{
#ifndef _CONTENT_PACKAGE
#if !defined (__linux__)
QueryPerformanceCounter( &m_qwStartTime );
#endif
}
void PerformanceTimer::PrintElapsedTime(const wstring &description)
{
#ifndef _CONTENT_PACKAGE
#if !defined (__linux__)
LARGE_INTEGER qwNewTime, qwDeltaTime;
QueryPerformanceCounter( &qwNewTime );
@@ -32,4 +32,4 @@ void PerformanceTimer::PrintElapsedTime(const wstring &description)
app.DebugPrintf("TIMER: %ls: Elapsed time %f\n", description.c_str(), fElapsedTime);
#endif
}
}