OSDN Git Service

2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
authorironhead <ironhead>
Sat, 14 Nov 2009 09:54:57 +0000 (09:54 +0000)
committerironhead <ironhead>
Sat, 14 Nov 2009 09:54:57 +0000 (09:54 +0000)
        * include/io.h (_open_osfhandle): Correct definition.

        Thanks to Alexander Shaduri for the information.

winsup/mingw/ChangeLog
winsup/mingw/include/io.h

index 62ae570..8aeb06c 100644 (file)
@@ -1,3 +1,9 @@
+2009-11-13  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>
+
+       * include/io.h (_open_osfhandle): Correct definition.
+
+       Thanks to Alexander Shaduri for the information.
+
 2009-11-02  Charles Wilson  <mingw@cwilson.fastmail.fm>
 
        Final sync of pseudo-reloc.c with mingw64 and cygwin
index 0d3c110..b46d6bf 100644 (file)
@@ -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);