mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
use the correct Qt windows macro
This commit is contained in:
parent
545181a465
commit
f48da0252a
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include <functional>
|
||||
|
||||
#ifdef Q_OS_WINDOWS
|
||||
#ifdef Q_OS_WIN
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#include <limits>
|
||||
|
@ -28,7 +28,7 @@ struct FrameHeader {
|
|||
using Time = uint32_t;
|
||||
|
||||
// until we use a version of visual studio that has constexpr support, we can't use numeric_limits at compile time
|
||||
#ifdef Q_OS_WINDOWS
|
||||
#ifdef Q_OS_WIN
|
||||
static const Time INVALID_TIME = UINT32_MAX;
|
||||
#else
|
||||
static const Time INVALID_TIME = std::numeric_limits<uint32_t>::max();
|
||||
|
|
Loading…
Reference in a new issue