mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:50:42 +02: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>
|
#include <functional>
|
||||||
|
|
||||||
#ifdef Q_OS_WINDOWS
|
#ifdef Q_OS_WIN
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#else
|
#else
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
@ -28,7 +28,7 @@ struct FrameHeader {
|
||||||
using Time = uint32_t;
|
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
|
// 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;
|
static const Time INVALID_TIME = UINT32_MAX;
|
||||||
#else
|
#else
|
||||||
static const Time INVALID_TIME = std::numeric_limits<uint32_t>::max();
|
static const Time INVALID_TIME = std::numeric_limits<uint32_t>::max();
|
||||||
|
|
Loading…
Reference in a new issue