summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-04-05 17:37:53 +0200
committerGabor Greif <ggreif@gmail.com>2017-04-05 17:37:53 +0200
commit4a1eed40bec08d50634b9754448ae34666e71fb2 (patch)
tree2b7e185e23e84c49f73fa06e6667d606b6ad5eef /libraries
parent577f3da7b81920c427c394871c86a523627e14e9 (diff)
downloadhaskell-4a1eed40bec08d50634b9754448ae34666e71fb2.tar.gz
test for HAVE_CLOCK_GETTIME definedness
Diffstat (limited to 'libraries')
-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