projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b593b2
)
Fix the build on Windows
2008-05-28
author
Ian Lynagh
<igloo@earth.li>
Tue, 20 May 2008 21:36:43 +0000
(21:36 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 20 May 2008 21:36:43 +0000
(21:36 +0000)
include/HsBase.h
patch
|
blob
|
history
diff --git
a/include/HsBase.h
b/include/HsBase.h
index
1992342
..
7a059c8
100644
(file)
--- a/
include/HsBase.h
+++ b/
include/HsBase.h
@@
-687,9
+687,11
@@
INLINE int __hscore_fstat(int fd, struct_stat *buf) {
return (fstat(fd,buf));
}
+#if !defined(__MINGW32__)
INLINE int __hscore_mkstemp(char *filetemplate) {
return (mkstemp(filetemplate));
}
+#endif
#if !defined(__MINGW32__) && !defined(irix_HOST_OS)
INLINE int __hscore_getrlimit(int resource, struct rlimit *rlim) {