From: Simon Marlow Date: Mon, 4 Dec 2006 09:54:27 +0000 (+0000) Subject: don't try to compile this on Unix X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a3b803cedaf9ef18f1632101743fa2efb06cb580;hp=a3a69ff00ebaf4db4668037fc99cb3a59f55bef7;p=ghc-base.git don't try to compile this on Unix --- 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 +