summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/base/include/HsBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/include/HsBase.h b/libraries/base/include/HsBase.h
index cfe046426d..cbbccbf458 100644
--- a/libraries/base/include/HsBase.h
+++ b/libraries/base/include/HsBase.h
@@ -100,7 +100,7 @@
#elif HAVE_STDINT_H
# include <stdint.h>
#endif
-#if HAVE_CLOCK_GETTIME
+#ifdef HAVE_CLOCK_GETTIME
# ifdef _POSIX_MONOTONIC_CLOCK
# define CLOCK_ID CLOCK_MONOTONIC
# else