diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/util/chrono.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/util/compression.cpp | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/src/mbgl/util/compression.cpp b/src/mbgl/util/compression.cpp index ee3ebe7cae..1742898f9e 100644 --- a/src/mbgl/util/compression.cpp +++ b/src/mbgl/util/compression.cpp @@ -1,6 +1,6 @@ #include <mbgl/util/compression.hpp> -#if defined(__QT__) && defined(_WINDOWS) && !defined(__GNUC__) +#if defined(__QT__) && defined(_WIN32) && !defined(__GNUC__) #include <QtZlib/zlib.h> #else #include <zlib.h> |