mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed compilation of Cocoa backend
src/utility/i_time.h:6:15: error: redefinition of 'TimeScale' as different kind of symbol
This commit is contained in:
parent
51b46f1408
commit
43eb262571
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
@ -199,6 +198,7 @@ struct TimedUpdater
|
|||
{
|
||||
explicit TimedUpdater(const Function& function)
|
||||
{
|
||||
extern uint64_t I_msTime();
|
||||
const unsigned int currentTime = I_msTime();
|
||||
|
||||
if (currentTime - m_previousTime > interval)
|
||||
|
|
Loading…
Reference in a new issue