aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-08-12 20:14:24 +0200
committerMattias Andrée <maandree@kth.se>2018-08-12 20:14:24 +0200
commitb1c24c68a39190b46c8d11d80089ecc441720110 (patch)
tree6b62a8efda7de8d31b96ac6c0f06d992a2f41e92
parentUpdate year (diff)
downloadlibsimple-b1c24c68a39190b46c8d11d80089ecc441720110.tar.gz
libsimple-b1c24c68a39190b46c8d11d80089ecc441720110.tar.bz2
libsimple-b1c24c68a39190b46c8d11d80089ecc441720110.tar.xz
Add DONT_DEFINE_CLOCK_MONOTONIC_RAW
Signed-off-by: Mattias Andrée <maandree@kth.se>
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