summaryrefslogtreecommitdiff
path: root/platform/default
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 /platform/default
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 'platform/default')
-rw-r--r--platform/default/src/mbgl/storage/local_file_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/src/mbgl/storage/local_file_request.cpp b/platform/default/src/mbgl/storage/local_file_request.cpp
index 084e6ff1b0..9f2351a5b7 100644
--- a/platform/default/src/mbgl/storage/local_file_request.cpp
+++ b/platform/default/src/mbgl/storage/local_file_request.cpp
@@ -5,7 +5,7 @@
#include <sys/types.h>
#include <sys/stat.h>
-#if defined(_WINDOWS) && !defined(S_ISDIR)
+#if defined(_WIN32) && !defined(S_ISDIR)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif