mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
950e814377
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.
12 lines
171 B
C
12 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;
|
|
}
|