summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/startup.c')
-rw-r--r--otherlibs/win32unix/startup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/otherlibs/win32unix/startup.c b/otherlibs/win32unix/startup.c
index ef11de0c9..af8919f18 100644
--- a/otherlibs/win32unix/startup.c
+++ b/otherlibs/win32unix/startup.c
@@ -40,3 +40,7 @@ value win_cleanup(unit) /* ML */
return Val_unit;
}
+value win_stdhandle(value nhandle) /* ML */
+{
+ return win_alloc_handle(GetStdHandle(Int_val(nhandle)));
+}