From c2eccc500ae6c90799fbb4c1dcfc6f66852dc92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sun, 7 Jul 2019 11:10:15 +0200 Subject: [PATCH] Compatibility with GPSD API 8. --- dwgpsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwgpsd.c b/dwgpsd.c index ff37c68..d96ab30 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 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