|
From: SourceForge.net <no...@so...> - 2004-03-25 18:03:04
|
Bugs item #923249, was opened at 2004-03-25 16:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=923249&group_id=2435 Category: mingw runtime Group: None Status: Open Resolution: None Priority: 5 Submitted By: Gerik (gerikr) Assigned to: Nobody/Anonymous (nobody) Summary: _fsopen missing from stdio.h Initial Comment: The prototype for _fsopen is missing. This is a standard MSVC function. Below is a change to stdio.h that allows code to compile: _CRTIMP FILE* __cdecl freopen (const char*, const char*, FILE*); _CRTIMP FILE* __cdecl _fsopen (const char*, const char*, int); _CRTIMP int __cdecl fflush (FILE*); I don't know if it needs enclosing in #ifdef __MSVCRT__ . Also _tfsopen is missing from tchar.h. Note that _wfsopen is already defined. Found in mingw-runtime-3.2. _fsopen is defined in crtdll.def and msvcrt.def.in. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=923249&group_id=2435 |