Skip to content

Commit

Permalink
🔖 λcommon v1.9.8: Fixed compilation issue on Unix systems.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Dec 24, 2018
1 parent 98d6643 commit 6c9e3b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/lambdacommon/lambdacommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/system/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,8 @@ namespace lambdacommon
#ifdef LAMBDA_WINDOWS
Sleep(static_cast<DWORD>(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
}
}
Expand Down

0 comments on commit 6c9e3b9

Please sign in to comment.