Added MBGL_ before each of the flags

This commit is contained in:
Michael Muesch
2019-01-15 11:38:59 -05:00
committed by Mikhail Pozdnyakov
parent 2a17d368ff
commit 1cdf619f03

View File

@@ -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