summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2017-05-08 15:11:21 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2017-05-08 15:11:21 +0300
commitd45c177e8a23eefcc94930af9fa085e61136bb94 (patch)
tree89b1e35cac071d2fdf2662e2871d97dc26831b5b
parentc8515a949cef17abc90693bb8be264c37fc1626a (diff)
downloadqtlocation-mapboxgl-d45c177e8a23eefcc94930af9fa085e61136bb94.tar.gz
[Qt] Fix build on Android with clang
Qt builds Android with Clang but using GNU stdc++, that is missing some classes we need.
-rw-r--r--include/mbgl/util/string.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/util/string.hpp b/include/mbgl/util/string.hpp
index ee02422715..6c33866a0b 100644
--- a/include/mbgl/util/string.hpp
+++ b/include/mbgl/util/string.hpp
@@ -8,7 +8,7 @@
#include <mbgl/util/dtoa.hpp>
-#if defined(__ANDROID__) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 9)
+#if defined(__ANDROID__) && defined(__GLIBCXX__)
namespace std {