Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Added MBGL_ before each of the flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mueschm authored and pozdnyakov committed Jan 17, 2019
1 parent 2a17d36 commit 1cdf619
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions platform/android/src/jni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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);
Expand All @@ -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
Expand Down

0 comments on commit 1cdf619

Please sign in to comment.