STATUS_NO_FIX was renamed to STATUS_UNK. d4a4d8d360
d4a4d8d360
@ -52,7 +52,9 @@ void Gpsd::run()
#else
if (m_gpsdata->online) {
#endif
#if GPSD_API_MAJOR_VERSION >= 10
#if defined(STATUS_UNK) // STATUS_NO_FIX was renamed to STATUS_UNK without bumping API version
if (m_gpsdata->fix.status != STATUS_UNK) {
#elif GPSD_API_MAJOR_VERSION >= 10
if (m_gpsdata->fix.status != STATUS_NO_FIX) {
if (m_gpsdata->status != STATUS_NO_FIX) {