summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pr/include/md/_freebsd.h2
-rw-r--r--pr/include/md/_linux.h2
-rw-r--r--pr/include/md/_netbsd.h2
-rw-r--r--pr/include/md/_openbsd.h2
-rw-r--r--pr/include/md/_unixos.h2
-rw-r--r--pr/src/md/unix/unix.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/pr/include/md/_freebsd.h b/pr/include/md/_freebsd.h
index 1dafc115..9a179bcb 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 HAVE_CLOCK_MONOTONIC
+#define _PR_HAVE_CLOCK_MONOTONIC
/*
* We wrapped the select() call. _MD_SELECT refers to the built-in,
diff --git a/pr/include/md/_linux.h b/pr/include/md/_linux.h
index d378db56..b4b298b7 100644
--- a/pr/include/md/_linux.h
+++ b/pr/include/md/_linux.h
@@ -671,7 +671,7 @@ extern void _MD_EarlyInit(void);
#define _MD_EARLY_INIT _MD_EarlyInit
#define _MD_FINAL_INIT _PR_UnixInit
-#define HAVE_CLOCK_MONOTONIC
+#define _PR_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 8836f878..945d94ff 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 HAVE_CLOCK_MONOTONIC
+#define _PR_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 074bdd78..666c177e 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 HAVE_CLOCK_MONOTONIC
+#define _PR_HAVE_CLOCK_MONOTONIC
/*
* We wrapped the select() call. _MD_SELECT refers to the built-in,
diff --git a/pr/include/md/_unixos.h b/pr/include/md/_unixos.h
index 04d99041..ea46b3a4 100644
--- a/pr/include/md/_unixos.h
+++ b/pr/include/md/_unixos.h
@@ -302,7 +302,7 @@ extern PRIntervalTime _PR_UNIX_TicksPerSecond(void);
#define _MD_INTERVAL_PER_SEC _PR_UNIX_TicksPerSecond
#endif
-#ifdef HAVE_CLOCK_MONOTONIC
+#ifdef _PR_HAVE_CLOCK_MONOTONIC
extern PRIntervalTime _PR_UNIX_GetInterval2(void);
extern PRIntervalTime _PR_UNIX_TicksPerSecond2(void);
#define _MD_INTERVAL_INIT()
diff --git a/pr/src/md/unix/unix.c b/pr/src/md/unix/unix.c
index 7405053f..fdae1199 100644
--- a/pr/src/md/unix/unix.c
+++ b/pr/src/md/unix/unix.c
@@ -3040,7 +3040,7 @@ PRIntervalTime _PR_UNIX_TicksPerSecond()
}
#endif
-#if defined(HAVE_CLOCK_MONOTONIC)
+#if defined(_PR_HAVE_CLOCK_MONOTONIC)
PRIntervalTime _PR_UNIX_GetInterval2()
{
struct timespec time;