summaryrefslogtreecommitdiff
path: root/src/mbgl/util/chrono.cpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-02-18 16:33:43 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-02-19 16:20:56 +0200
commit056073a904361ef9b18e0c38abd7f5c6a187ef22 (patch)
tree9be1518ea6564b4e5b78f9da8c11dd55625f17be /src/mbgl/util/chrono.cpp
parent1fc7a9b82ea0c064c20247f0902b3854fff1942f (diff)
downloadqtlocation-mapboxgl-056073a904361ef9b18e0c38abd7f5c6a187ef22.tar.gz
[build] Use the correct define on Windows
https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html
Diffstat (limited to 'src/mbgl/util/chrono.cpp')
-rw-r--r--src/mbgl/util/chrono.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/chrono.cpp b/src/mbgl/util/chrono.cpp
index c304548cf1..6674e73c42 100644
--- a/src/mbgl/util/chrono.cpp
+++ b/src/mbgl/util/chrono.cpp
@@ -5,7 +5,7 @@
#include <cstdio>
#include <ctime>
-#if defined(_WINDOWS)
+#if defined(_WIN32)
#define _gmtime(t, i) gmtime_s(i, t)
#else
#define _gmtime(t, i) gmtime_r(t, i)