]>
Commit | Line | Data |
---|---|---|
7e2bd461 JR |
1 | --- qlandkartegt-1.8.1/src/CDeviceGPSD.cpp~ 2014-08-08 11:53:27.000000000 +0200 |
2 | +++ qlandkartegt-1.8.1/src/CDeviceGPSD.cpp 2019-11-03 16:25:35.889558025 +0100 | |
3 | @@ -212,7 +212,9 @@ | |
4 | } // if | |
5 | else if( FD_ISSET( gpsdata->gps_fd, &fds ) ) | |
6 | { | |
7 | -#if GPSD_API_MAJOR_VERSION >= 5 | |
8 | +#if GPSD_API_MAJOR_VERSION >= 6 | |
9 | + gps_read( gpsdata, NULL, 0 ); | |
10 | +#elif GPSD_API_MAJOR_VERSION >= 5 | |
11 | gps_read( gpsdata ); | |
12 | #else | |
13 | gps_poll( gpsdata ); |