Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix the build on Windows

  • Loading branch information...
commit 039848a1250b650bf55492b8ad791b88313f5832 1 parent 4b593b2
@igfoo igfoo authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  include/HsBase.h
View
2  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) {
Please sign in to comment.
Something went wrong with that request. Please try again.