diff --git a/reactos/sdk/lib/crt/stdio/file.c b/reactos/sdk/lib/crt/stdio/file.c index 53462799920..8b67bd08379 100644 --- a/reactos/sdk/lib/crt/stdio/file.c +++ b/reactos/sdk/lib/crt/stdio/file.c @@ -528,10 +528,17 @@ static int msvcrt_flush_buffer(FILE* file) if(file->_flag & _IORW) file->_flag &= ~_IOWRT; - } +#ifdef __REACTOS__ /* CORE-11949 */ file->_ptr=file->_base; file->_cnt=0; +#endif + } + +#ifndef __REACTOS__ /* CORE-11949 */ + file->_ptr=file->_base; + file->_cnt=0; +#endif return 0; }