summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/mbgl/platform/gl_functions.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/platform/gl_functions.hpp b/include/mbgl/platform/gl_functions.hpp
index a007a48b88..fab3e3aa36 100644
--- a/include/mbgl/platform/gl_functions.hpp
+++ b/include/mbgl/platform/gl_functions.hpp
@@ -26,7 +26,7 @@ using GLubyte = unsigned char;
using GLuint = unsigned int;
using GLvoid = void;
-#if defined(_WINDOWS)
+#if defined(_WIN32)
using GLintptr = long long;
using GLsizeiptr = long long;
#else