summaryrefslogtreecommitdiff
path: root/timebase.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 /timebase.c
parenta0fae4291e463f81575d7126ef498a10392f43b5 (diff)
downloadgpsd-3e25e2167beb3936de3986fad9b6c9bdec82b81f.tar.gz
Address Savannah bug #46082 - Can't explicitly build with NMEA drivers.
Diffstat (limited to 'timebase.c')
-rw-r--r--timebase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timebase.c b/timebase.c
index 0b3192e4..b2e79394 100644
--- a/timebase.c
+++ b/timebase.c
@@ -259,7 +259,7 @@ void gpsd_set_century(struct gps_device_t *session)
}
}
-#ifdef NMEA_ENABLE
+#ifdef NMEA0183_ENABLE
timestamp_t gpsd_utc_resolve(struct gps_device_t *session)
/* resolve a UTC date, checking for rollovers */
{
@@ -321,7 +321,7 @@ void gpsd_century_update(struct gps_device_t *session, int century)
session->context->valid &=~ CENTURY_VALID;
}
}
-#endif /* NMEA_ENABLE */
+#endif /* NMEA0183_ENABLE */
timestamp_t gpsd_gpstime_resolve(struct gps_device_t *session,
unsigned short week, double tow)