diff options
Diffstat (limited to 'otherlibs/win32unix/unixsupport.h')
-rw-r--r-- | otherlibs/win32unix/unixsupport.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/otherlibs/win32unix/unixsupport.h b/otherlibs/win32unix/unixsupport.h index e8faca3f6..f2b2b2941 100644 --- a/otherlibs/win32unix/unixsupport.h +++ b/otherlibs/win32unix/unixsupport.h @@ -11,6 +11,7 @@ /* $Id$ */ +#include <winbase.h> #include <stdlib.h> /* Include io.h in current dir, which is a copy of the system's io.h, not io.h from ../../byterun */ @@ -18,6 +19,10 @@ #include <direct.h> #include <process.h> +#define Handle_val(v) (*((HANDLE *)(v))) + +extern value win_alloc_handle(HANDLE); + #define Nothing ((value) 0) extern void unix_error (int errcode, char * cmdname, value arg); |