use the correct Qt windows macro

This commit is contained in:
Stephen Birarda 2016-09-01 11:33:20 -07:00
parent 545181a465
commit f48da0252a

View file

@ -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();