don't try to compile this on Unix
[ghc-base.git] / cbits / Win32Utils.c
index dca270a..e034355 100644 (file)
@@ -4,6 +4,8 @@
    Useful Win32 bits\r
    ------------------------------------------------------------------------- */\r
 \r
+#if defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)\r
+\r
 #include "HsBase.h"\r
 \r
 /* This is the error table that defines the mapping between OS error\r
@@ -119,3 +121,5 @@ HsInt getTicksOfDay(void)
     return (HsInt)t;\r
 }\r
 \r
+#endif\r
+\r