mirror of
https://github.com/reactos/reactos.git
synced 2024-08-23 03:42:40 +00:00
![Timo Kreuzer](/assets/img/avatar_default.png)
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.
13 lines
171 B
C
13 lines
171 B
C
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
|
#include <precomp.h>
|
|
|
|
int _fmode = 0;
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
int *__p__fmode(void)
|
|
{
|
|
return &_fmode;
|
|
}
|