diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-10-01 20:37:28 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-10-01 20:37:28 -0400 |
commit | 3e25e2167beb3936de3986fad9b6c9bdec82b81f (patch) | |
tree | 0dba43b0010c999f403faea1d30bff8321c915fe /driver_superstar2.c | |
parent | a0fae4291e463f81575d7126ef498a10392f43b5 (diff) | |
download | gpsd-3e25e2167beb3936de3986fad9b6c9bdec82b81f.tar.gz |
Address Savannah bug #46082 - Can't explicitly build with NMEA drivers.
Diffstat (limited to 'driver_superstar2.c')
-rw-r--r-- | driver_superstar2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c index 6e197d3c..bd4aab1e 100644 --- a/driver_superstar2.c +++ b/driver_superstar2.c @@ -468,10 +468,10 @@ static gps_mask_t superstar2_parse_input(struct gps_device_t *session) if (session->lexer.type == SUPERSTAR2_PACKET) { return superstar2_dispatch(session, session->lexer.outbuffer, session->lexer.length);; -#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; } |