summaryrefslogtreecommitdiff
path: root/driver_proto.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-10-01 20:37:28 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-10-01 20:37:28 -0400
commit3e25e2167beb3936de3986fad9b6c9bdec82b81f (patch)
tree0dba43b0010c999f403faea1d30bff8321c915fe /driver_proto.c
parenta0fae4291e463f81575d7126ef498a10392f43b5 (diff)
downloadgpsd-3e25e2167beb3936de3986fad9b6c9bdec82b81f.tar.gz
Address Savannah bug #46082 - Can't explicitly build with NMEA drivers.
Diffstat (limited to 'driver_proto.c')
-rw-r--r--driver_proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_proto.c b/driver_proto.c
index d6c61c8d..f42cfcce 100644
--- a/driver_proto.c
+++ b/driver_proto.c
@@ -420,10 +420,10 @@ static gps_mask_t _proto__parse_input(struct gps_device_t *session)
{
if (session->lexer.type == _PROTO__PACKET) {
return _proto__dispatch(session, session->lexer.outbuffer, session->lexer.outbuflen);
-#ifdef NMEA_ENABLE
+#ifdef NMEA0183_ENABLE
} else if (session->lexer.type == NMEA_PACKET) {
return nmea_parse((char *)session->lexer.outbuffer, session);
-#endif /* NMEA_ENABLE */
+#endif /* NMEA0183_ENABLE */
} else
return 0;
}