summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-07-23 17:45:54 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-08-15 20:41:07 +0300
commit01c1d1eb788598e8d84fde90cf057c8e22edf4b6 (patch)
treea3edd2d09e2aadd145849f848c497f757302fbeb /benchmark
parentb9a211869308e486c552abfa6c7bc1624fb40324 (diff)
downloadqtlocation-mapboxgl-01c1d1eb788598e8d84fde90cf057c8e22edf4b6.tar.gz
[build] Mark explicitly visible symbols
Easier to maintain than a linker script. We build everything with visibility hidden by default.
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/include/mbgl/benchmark.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmark/include/mbgl/benchmark.hpp b/benchmark/include/mbgl/benchmark.hpp
index 1a9904de51..f78bcb09c6 100644
--- a/benchmark/include/mbgl/benchmark.hpp
+++ b/benchmark/include/mbgl/benchmark.hpp
@@ -1,7 +1,9 @@
#pragma once
+#include <mbgl/util/util.hpp>
+
namespace mbgl {
-int runBenchmark(int argc, char* argv[]);
+MBGL_PUBLIC int runBenchmark(int argc, char* argv[]);
} // namespace mbgl