projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a69ff
)
don't try to compile this on Unix
author
Simon Marlow
<simonmar@microsoft.com>
Mon, 4 Dec 2006 09:54:27 +0000
(09:54 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Mon, 4 Dec 2006 09:54:27 +0000
(09:54 +0000)
cbits/Win32Utils.c
patch
|
blob
|
history
diff --git
a/cbits/Win32Utils.c
b/cbits/Win32Utils.c
index
dca270a
..
e034355
100644
(file)
--- a/
cbits/Win32Utils.c
+++ b/
cbits/Win32Utils.c
@@
-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