summaryrefslogtreecommitdiff
path: root/common/linux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/linux.cpp')
-rw-r--r--common/linux.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/linux.cpp b/common/linux.cpp
new file mode 100644
index 0000000000..6132ace692
--- /dev/null
+++ b/common/linux.cpp
@@ -0,0 +1,12 @@
+#include <mbgl/platform/platform.hpp>
+
+namespace mbgl {
+namespace platform {
+
+// Returns the path to the default cache database on this system.
+std::string defaultCacheDatabase() {
+ return "/tmp/mbgl-cache.db";
+}
+
+}
+}