From: Alexander S. <ash...@gm...> - 2009-08-30 11:03:06
|
Hello, It seems that the prototype of _open_osfhandle() is incorrect in io.h (from mingwrt-3.16). It says: _CRTIMP int __cdecl __MINGW_NOTHROW _open_osfhandle (long, int); The MS documentation, on the other hand, says: int _open_osfhandle ( intptr_t osfhandle, int flags ); That's from http://msdn.microsoft.com/en-us/library/bdts1c9x.aspx . Thanks, Alexander |