Compatibility with GPSD API 8.

This commit is contained in:
Björn Esser 2019-07-07 11:10:15 +02:00
parent a1e2d1c3a8
commit c2eccc500a
No known key found for this signature in database
GPG Key ID: F52E98007594C21D
1 changed files with 2 additions and 2 deletions

View File

@ -58,9 +58,9 @@
// dwgps.c claims to only support GPSD_API_MAJOR_VERSION 5, but also builds successfully with // 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. // 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. #error libgps API version might be incompatible.
#endif #endif