test for HAVE_CLOCK_GETTIME definedness
[ghc.git] / 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