aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2009-11-14 00:54:58 +0000
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2009-11-14 00:54:58 +0000
commit8b121daba4976d2af751f04c36d05e764df89a3f (patch)
tree8a5163198a0d4ed27ca791f5e88b7a05e3eaf81f /winsup/mingw
parent3d330d8115022ad7afc6981055ed2c2161aea445 (diff)
downloadnewlib-8b121daba4976d2af751f04c36d05e764df89a3f.zip
newlib-8b121daba4976d2af751f04c36d05e764df89a3f.tar.gz
newlib-8b121daba4976d2af751f04c36d05e764df89a3f.tar.bz2
2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/io.h (_open_osfhandle): Correct definition. Thanks to Alexander Shaduri for the information.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog6
-rw-r--r--winsup/mingw/include/io.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 62ae570..8aeb06c 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -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
diff --git a/winsup/mingw/include/io.h b/winsup/mingw/include/io.h
index 0d3c110..b46d6bf 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);