From e0c2c31181c9b62b0b8390184476e23723e99936 Mon Sep 17 00:00:00 2001 From: wb2osz Date: Sun, 7 Jul 2019 08:24:51 -0400 Subject: [PATCH] Compatibility with GPSD API 8. #214 --- dwgpsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwgpsd.c b/dwgpsd.c index ff37c68..8e7643c 100644 --- a/dwgpsd.c +++ b/dwgpsd.c @@ -58,9 +58,9 @@ // dwgps.c claims to only support GPSD_API_MAJOR_VERSION 5, but also builds successfully with // GPSD_API_MAJOR_VERSION 6 provided by libgps22 when the attached patch is applied. -// Also compatible with API 7 with conditional compilation later. +// Also compatible with API 7 & 8 with conditional compilation later. -#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 7 +#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 8 #error libgps API version might be incompatible. #endif