diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-07 12:36:18 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-07 12:36:18 -0500 |
commit | 70545994558beb7496d46d03734ce08da5dfd194 (patch) | |
tree | e5baf23dec45814dce844aaeffc2e69077863e80 /ntpshm.h | |
parent | 955b82d9ee173de7a0410f7b39c9f7f0999e4633 (diff) | |
download | gpsd-70545994558beb7496d46d03734ce08da5dfd194.tar.gz |
Clean up the HAVE_* namespace in conditionalization macros.
Diffstat (limited to 'ntpshm.h')
-rw-r--r-- | ntpshm.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -65,15 +65,15 @@ struct shm_stat_t { int leap; }; -#ifndef HAVE_TIMEDELTA +#ifndef TIMEDELTA_DEFINED struct timedelta_t { struct timespec real; struct timespec clock; }; -#define HAVE_TIMEDELTA -#endif /* HAVE_TIMEDELTA */ +#define TIMEDELTA_DEFINED +#endif /* TIMEDELTA_DEFINED */ struct shmTime /*@null@*/ *shm_get(int, bool, bool); extern char *ntp_name(const int); |