diff options
author | Gabor Greif <ggreif@gmail.com> | 2017-04-05 17:37:53 +0200 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2017-04-05 17:37:53 +0200 |
commit | 4a1eed40bec08d50634b9754448ae34666e71fb2 (patch) | |
tree | 2b7e185e23e84c49f73fa06e6667d606b6ad5eef /libraries | |
parent | 577f3da7b81920c427c394871c86a523627e14e9 (diff) | |
download | haskell-4a1eed40bec08d50634b9754448ae34666e71fb2.tar.gz |
test for HAVE_CLOCK_GETTIME definedness
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/base/include/HsBase.h | 2 |
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 |