summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-01-29 22:14:40 -0800
committerJan Beich <jbeich@FreeBSD.org>2016-01-29 22:14:40 -0800
commitdb45660630bab2dad9cbcb722e492f32c21db76c (patch)
treee8f5e5f84021c3a7757e0fe5fa6e1fa16e78a339
parenteb6e0914fc3749c521f4c6522abffeab59e2c23b (diff)
downloadnspr-hg-db45660630bab2dad9cbcb722e492f32c21db76c.tar.gz
Bug 1244320: Switch BSDs to clock_gettime(CLOCK_MONOTONIC). r=wtc.
-rw-r--r--pr/include/md/_freebsd.h2
-rw-r--r--pr/include/md/_netbsd.h2
-rw-r--r--pr/include/md/_openbsd.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/pr/include/md/_freebsd.h b/pr/include/md/_freebsd.h
index 43cdec51..1dafc115 100644
--- a/pr/include/md/_freebsd.h
+++ b/pr/include/md/_freebsd.h
@@ -230,7 +230,7 @@ extern void _MD_EarlyInit(void);
#define _MD_EARLY_INIT _MD_EarlyInit
#define _MD_FINAL_INIT _PR_UnixInit
-#define _MD_INTERVAL_USE_GTOD
+#define HAVE_CLOCK_MONOTONIC
/*
* We wrapped the select() call. _MD_SELECT refers to the built-in,
diff --git a/pr/include/md/_netbsd.h b/pr/include/md/_netbsd.h
index 8b8e8dd8..8836f878 100644
--- a/pr/include/md/_netbsd.h
+++ b/pr/include/md/_netbsd.h
@@ -211,7 +211,7 @@ extern void _MD_EarlyInit(void);
#define _MD_EARLY_INIT _MD_EarlyInit
#define _MD_FINAL_INIT _PR_UnixInit
-#define _MD_INTERVAL_USE_GTOD
+#define HAVE_CLOCK_MONOTONIC
/*
* We wrapped the select() call. _MD_SELECT refers to the built-in,
diff --git a/pr/include/md/_openbsd.h b/pr/include/md/_openbsd.h
index e014088e..074bdd78 100644
--- a/pr/include/md/_openbsd.h
+++ b/pr/include/md/_openbsd.h
@@ -192,7 +192,7 @@ struct _MDCPU {
#define _MD_EARLY_INIT _MD_EarlyInit
#define _MD_FINAL_INIT _PR_UnixInit
-#define _MD_INTERVAL_USE_GTOD
+#define HAVE_CLOCK_MONOTONIC
/*
* We wrapped the select() call. _MD_SELECT refers to the built-in,