From 736722fb4d8f9533a4c46e87c7ff202abbf2cf04 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 6 Apr 2011 17:04:12 +0000 Subject: [PATCH] build fix for wxUSE_LOG==0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/utilsunx.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 455db74030..ec550fcf24 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -728,7 +728,9 @@ long wxExecute(char **argv, int flags, wxProcess *process, // it might not be the best idea. wxLogSysError(_("Failed to set up non-blocking pipe, " "the program might hang.")); +#if wxUSE_LOG wxLog::FlushActive(); +#endif } wxOutputStream *inStream = -- 2.45.2