diff options
author | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-18 08:49:21 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-18 08:49:21 -0500 |
commit | 78bbe312a905c1c3f6cf86c11687a47b6f11539b (patch) | |
tree | 9d7b7e1fcb9d9900730dbfcd71bebff2316204d1 /libgpsd_core.c | |
parent | 7d4e48453d3241954a0691acfdc5b73a7a4466ae (diff) | |
download | gpsd-78bbe312a905c1c3f6cf86c11687a47b6f11539b.tar.gz |
Fixing broken build scons minimal=on ntpshm=on
missing ifdef guards around pps_thread_stash_fixtime()
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 848046b8..f9eec664 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1677,10 +1677,12 @@ void ntpshm_latch(struct gps_device_t *device, struct timedrift_t /*@out@*/*td) td->real.tv_nsec = (long)(fractional * 1e+9); /*@+type@*/ +#ifdef PPS_ENABLE /* thread-safe update */ /*@-compdef@*/ pps_thread_stash_fixtime(device, device->newdata.time, td->clock); /*@+compdef@*/ +#endif /* PPS_ENABLE */ } #endif /* NTPSHM_ENABLE */ |