summaryrefslogtreecommitdiff
path: root/ntpshm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-07 12:36:18 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-03-07 12:36:18 -0500
commit70545994558beb7496d46d03734ce08da5dfd194 (patch)
treee5baf23dec45814dce844aaeffc2e69077863e80 /ntpshm.h
parent955b82d9ee173de7a0410f7b39c9f7f0999e4633 (diff)
downloadgpsd-70545994558beb7496d46d03734ce08da5dfd194.tar.gz
Clean up the HAVE_* namespace in conditionalization macros.
Diffstat (limited to 'ntpshm.h')
-rw-r--r--ntpshm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ntpshm.h b/ntpshm.h
index 05fe8db2..bf36f879 100644
--- a/ntpshm.h
+++ b/ntpshm.h
@@ -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);