From 8b121daba4976d2af751f04c36d05e764df89a3f Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Sat, 14 Nov 2009 00:54:58 +0000 Subject: 2009-11-13 Chris Sutcliffe * include/io.h (_open_osfhandle): Correct definition. Thanks to Alexander Shaduri for the information. --- winsup/mingw/include/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/mingw/include/io.h') diff --git a/winsup/mingw/include/io.h b/winsup/mingw/include/io.h index 0d3c11045..b46d6bfda 100644 --- a/winsup/mingw/include/io.h +++ b/winsup/mingw/include/io.h @@ -238,7 +238,7 @@ _CRTIMP long __cdecl __MINGW_NOTHROW _lseek (int, long, int); /* Optional third argument is unsigned unPermissions. */ _CRTIMP int __cdecl __MINGW_NOTHROW _open (const char*, int, ...); -_CRTIMP int __cdecl __MINGW_NOTHROW _open_osfhandle (long, int); +_CRTIMP int __cdecl __MINGW_NOTHROW _open_osfhandle (intptr_t, int); _CRTIMP int __cdecl __MINGW_NOTHROW _pipe (int *, unsigned int, int); _CRTIMP int __cdecl __MINGW_NOTHROW _read (int, void*, unsigned int); _CRTIMP int __cdecl __MINGW_NOTHROW _setmode (int, int); -- cgit v1.2.3