From a3b803cedaf9ef18f1632101743fa2efb06cb580 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 4 Dec 2006 09:54:27 +0000 Subject: [PATCH 1/1] don't try to compile this on Unix --- cbits/Win32Utils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cbits/Win32Utils.c b/cbits/Win32Utils.c index dca270a..e034355 100644 --- a/cbits/Win32Utils.c +++ b/cbits/Win32Utils.c @@ -4,6 +4,8 @@ Useful Win32 bits ------------------------------------------------------------------------- */ +#if defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32) + #include "HsBase.h" /* This is the error table that defines the mapping between OS error @@ -119,3 +121,5 @@ HsInt getTicksOfDay(void) return (HsInt)t; } +#endif + -- 1.7.10.4