Merge pull request #249 from sria91/master
fixed: tidy-html5 debug build fails on VS2015 x64
This commit is contained in:
commit
c4bac32f5b
|
@ -86,7 +86,7 @@ void TIDY_CALL TY_(filesink_putByte)( void* sinkData, byte bv )
|
|||
FILE* fout = (FILE*) sinkData;
|
||||
fputc( bv, fout );
|
||||
#if !defined(NDEBUG) && defined(_MSC_VER)
|
||||
if (fout->_file != 2)
|
||||
if (_fileno(fout) != 2)
|
||||
SPRTF("%c",bv);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue