From 52541cc10ceefacbb721af6a43116d905af1cd77 Mon Sep 17 00:00:00 2001 From: "marco." Date: Thu, 6 Dec 2012 19:08:34 +0100 Subject: [PATCH] MacOSX: cleanups 3817 & completes 3820 --- common/richio.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/richio.cpp b/common/richio.cpp index 19ccb838f7..e9fade6243 100644 --- a/common/richio.cpp +++ b/common/richio.cpp @@ -126,9 +126,10 @@ FILE_LINE_READER::FILE_LINE_READER( FILE* aFile, const wxString& aFileName, { if( doOwn && ftell( aFile ) == 0L ) { +#ifndef __WXMAC__ setvbuf( fp, NULL, _IOFBF, BUFSIZ * 8 ); +#endif } - source = aFileName; lineNum = aStartingLineNumber; }