mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 14:51:56 +00:00
[CRT] Fix _fmode
Remove mingw-w64 version of _fmode. _fmode should not be linked directly into the executable. Instead, the export from msvcrt should be used. On Windows 10 it's defined to *__p__fmode(), which is exported from ucrtbase.dll Also _fmode in msvcrt.dll is initialized with 0.
This commit is contained in:
parent
296e07b94d
commit
950e814377
4 changed files with 1 additions and 16 deletions
|
@ -1,7 +1,7 @@
|
|||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <precomp.h>
|
||||
|
||||
int _fmode = _O_TEXT;
|
||||
int _fmode = 0;
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue