MacOSX: cleanups 3817 & completes 3820

This commit is contained in:
marco. 2012-12-06 19:08:34 +01:00
parent c648806703
commit 52541cc10c
1 changed files with 2 additions and 1 deletions

View File

@ -126,9 +126,10 @@ FILE_LINE_READER::FILE_LINE_READER( FILE* aFile, const wxString& aFileName,
{ {
if( doOwn && ftell( aFile ) == 0L ) if( doOwn && ftell( aFile ) == 0L )
{ {
#ifndef __WXMAC__
setvbuf( fp, NULL, _IOFBF, BUFSIZ * 8 ); setvbuf( fp, NULL, _IOFBF, BUFSIZ * 8 );
#endif
} }
source = aFileName; source = aFileName;
lineNum = aStartingLineNumber; lineNum = aStartingLineNumber;
} }