aboutsummaryrefslogtreecommitdiffstats
path: root/libsimple.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libsimple.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libsimple.h b/libsimple.h
index 7b5b361..5080be2 100644
--- a/libsimple.h
+++ b/libsimple.h
@@ -50,8 +50,10 @@
extern int libsimple_default_failure_exit;
-#ifndef CLOCK_MONOTONIC_RAW
-# define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
+#ifndef DONT_DEFINE_CLOCK_MONOTONIC_RAW
+# ifndef CLOCK_MONOTONIC_RAW
+# define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
+# endif
#endif