Skip to content

Commit 7ce189f

Browse files
committed
[MSVCRT] Fix initial value of _fmode
1 parent 3d8bfdd commit 7ce189f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dll/win32/msvcrt/data.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,9 @@ void msvcrt_init_args(void)
360360
MSVCRT__HUGE = HUGE_VAL;
361361
MSVCRT___setlc_active = 0;
362362
MSVCRT___unguarded_readlc_active = 0;
363+
#ifndef __REACTOS__
363364
MSVCRT__fmode = _O_TEXT;
365+
#endif
364366

365367
env_init(FALSE, FALSE);
366368

0 commit comments

Comments
 (0)