From 6c9e3b9f21c6dd896873de05b83a833f6f34033e Mon Sep 17 00:00:00 2001 From: LambdAurora Date: Tue, 25 Dec 2018 00:03:19 +0100 Subject: [PATCH] =?UTF-8?q?:bookmark:=20=CE=BBcommon=20v1.9.8:=20Fixed=20c?= =?UTF-8?q?ompilation=20issue=20on=20Unix=20systems.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/lambdacommon/lambdacommon.h | 2 +- src/system/system.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/lambdacommon/lambdacommon.h b/include/lambdacommon/lambdacommon.h index 743fc82..fc3e093 100644 --- a/include/lambdacommon/lambdacommon.h +++ b/include/lambdacommon/lambdacommon.h @@ -42,7 +42,7 @@ #define LAMBDACOMMON_VERSION_MAJOR 1 #define LAMBDACOMMON_VERSION_MINOR 9 -#define LAMBDACOMMON_VERSION_PATCH 7 +#define LAMBDACOMMON_VERSION_PATCH 8 #define LAMBDACOMMON_VERSION_TYPE "Release" // Deletes the pointer and sets the variable to null. It's just simpler to write like this. diff --git a/src/system/system.cpp b/src/system/system.cpp index 5d57c5b..3fb2a77 100644 --- a/src/system/system.cpp +++ b/src/system/system.cpp @@ -578,8 +578,8 @@ namespace lambdacommon #ifdef LAMBDA_WINDOWS Sleep(static_cast(time)); #else - auto goal = get_time_millis() + time; - while (goal > get_time_millis()); + auto goal = time::get_time_millis() + time; + while (goal > time::get_time_millis()); #endif } }