Permalink
Browse files

Fix the build on Windows

  • Loading branch information...
1 parent 4b593b2 commit 039848a1250b650bf55492b8ad791b88313f5832 @igfoo igfoo committed May 20, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 include/HsBase.h
View
@@ -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) {

0 comments on commit 039848a

Please sign in to comment.