Skip to content

Commit

Permalink
- fixed compilation of Cocoa backend
Browse files Browse the repository at this point in the history
src/utility/i_time.h:6:15: error: redefinition of 'TimeScale' as different kind of symbol
  • Loading branch information
alexey-lysiuk committed Mar 28, 2020
1 parent 51b46f1 commit 43eb262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posix/cocoa/st_console.mm
Expand Up @@ -37,7 +37,6 @@
#include "st_console.h"
#include "v_text.h"
#include "version.h"
#include "i_time.h"


static NSColor* RGB(const uint8_t red, const uint8_t green, const uint8_t blue)
Expand Down Expand Up @@ -199,6 +198,7 @@
{
explicit TimedUpdater(const Function& function)
{
extern uint64_t I_msTime();
const unsigned int currentTime = I_msTime();

if (currentTime - m_previousTime > interval)
Expand Down

0 comments on commit 43eb262

Please sign in to comment.