commit a416e353f23b82f30eabfa8248eca44bf147faf3
parent cf86293090e8ea3b65afeb5ff2b6952065d6bd17
Author: Michael Schierl <schierlm@gmx.de>
Date: Wed, 26 Apr 2023 00:09:49 +0200
poxix/vm: Fix building on Cygwin again
This has already been fixed in 5d294d8c81cb95765fc96ad7c9ad681db18d3d76,
but got broken in the meantime.
Also add .exe files to .gitignore.
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -6,3 +6,4 @@
/*.bin
/*.img
*.o
+/*.exe
diff --git a/posix/vm.c b/posix/vm.c
@@ -698,6 +698,8 @@ static void FCHILD () { // 0x60
// Our handles are simply the regular IO/File preludes followed by the POSIX
// file descriptor, a 64bit int.
+
+#undef FOPEN
static void FOPEN () {
dword fsid = ppop();
char *path;