test for HAVE_CLOCK_GETTIME definedness
authorGabor Greif <ggreif@gmail.com>
Wed, 5 Apr 2017 15:37:53 +0000 (17:37 +0200)
committerGabor Greif <ggreif@gmail.com>
Wed, 5 Apr 2017 15:37:53 +0000 (17:37 +0200)
libraries/base/include/HsBase.h

index cfe0464..cbbccbf 100644 (file)
 #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