aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/mingw.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/mingw.c b/win32/mingw.c
index 545d6c2e5..ec5648bcf 100644
--- a/win32/mingw.c
+++ b/win32/mingw.c
@@ -782,3 +782,9 @@ int mingw_unlink(const char *pathname)
782 chmod(pathname, 0666); 782 chmod(pathname, 0666);
783 return unlink(pathname); 783 return unlink(pathname);
784} 784}
785
786int ioctl(int fd, int code, ...)
787{
788 errno = ENOSYS;
789 return -1;
790}