summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Muesch <mueschm@gmail.com>2019-01-15 11:38:59 -0500
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-01-17 14:02:12 +0200
commit1cdf619f033b3080c44afdf46a34f82f160b04f2 (patch)
tree8b5ebe7c12cd4d3f4156051240a4d5947ed0e35d
parent2a17d368ff8b1ca1b3894942985e5a48084e1a7f (diff)
downloadqtlocation-mapboxgl-1cdf619f033b3080c44afdf46a34f82f160b04f2.tar.gz
Added MBGL_ before each of the flags
-rwxr-xr-xplatform/android/src/jni.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/src/jni.cpp b/platform/android/src/jni.cpp
index 696b8799fb..5f162fd53e 100755
--- a/platform/android/src/jni.cpp
+++ b/platform/android/src/jni.cpp
@@ -35,7 +35,7 @@
#include "map_renderer.hpp"
#include "map_renderer_runnable.hpp"
#include "native_map_view.hpp"
-#ifndef MODULE_OFFLINE_DISABLE
+#ifndef MBGL_MODULE_OFFLINE_DISABLE
#include "offline/offline_manager.hpp"
#include "offline/offline_region.hpp"
#include "offline/offline_region_definition.hpp"
@@ -48,7 +48,7 @@
#include "style/light.hpp"
#include "style/formatted.hpp"
#include "style/formatted_section.hpp"
-#ifndef MODULE_SNAPSHOT_DISABLE
+#ifndef MBGL_MODULE_SNAPSHOT_DISABLE
#include "snapshotter/map_snapshotter.hpp"
#include "snapshotter/map_snapshot.hpp"
#endif
@@ -181,7 +181,7 @@ void registerNatives(JavaVM *vm) {
ConnectivityListener::registerNative(env);
// Offline
-#ifndef MODULE_OFFLINE_DISABLE
+#ifndef MBGL_MODULE_OFFLINE_DISABLE
OfflineManager::registerNative(env);
OfflineRegion::registerNative(env);
OfflineRegionDefinition::registerNative(env);
@@ -192,7 +192,7 @@ void registerNatives(JavaVM *vm) {
#endif
// Snapshotter
-#ifndef MODULE_SNAPSHOT_DISABLE
+#ifndef MBGL_MODULE_SNAPSHOT_DISABLE
MapSnapshotter::registerNative(env);
MapSnapshot::registerNative(env);
#endif