summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index 424750d28..510dbfa68 100644
--- a/main.c
+++ b/main.c
@@ -10,9 +10,10 @@
#include "dive.h"
#include "divelist.h"
-#if HAVE_OSM_GPS_MAP
+#ifdef USE_GTK_UI
#include <osm-gps-map.h>
#endif
+
#ifdef DEBUGFILE
char *debugfilename;
FILE *debugfile;
@@ -38,7 +39,7 @@ struct preferences default_prefs = {
.calc_ceiling_3m_incr = FALSE,
.gflow = 0.30,
.gfhigh = 0.75,
-#if HAVE_OSM_GPS_MAP
+#ifdef USE_GTK_UI
.map_provider = OSM_GPS_MAP_SOURCE_VIRTUAL_EARTH_HYBRID,
#endif
};