From 3e25e2167beb3936de3986fad9b6c9bdec82b81f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 1 Oct 2015 20:37:28 -0400 Subject: Address Savannah bug #46082 - Can't explicitly build with NMEA drivers. --- libgpsd_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libgpsd_core.c') diff --git a/libgpsd_core.c b/libgpsd_core.c index a241e559..31fec2ac 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -560,7 +560,7 @@ int gpsd_activate(struct gps_device_t *session, const int mode) return session->gpsdata.gps_fd; } -#ifdef NON_NMEA_ENABLE +#ifdef NON_NMEA0183_ENABLE /* if it's a sensor, it must be probed */ if ((session->servicetype == service_sensor) && (session->sourcetype != source_can)) { @@ -590,7 +590,7 @@ int gpsd_activate(struct gps_device_t *session, const int mode) "no probe matched...\n"); } foundit: -#endif /* NON_NMEA_ENABLE */ +#endif /* NON_NMEA0183_ENABLE */ gpsd_clear(session); gpsd_log(&session->context->errout, LOG_INF, -- cgit v1.2.1