]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix for wxUSE_LOG==0
authorPaul Cornett <paulcor@bullseye.com>
Wed, 6 Apr 2011 17:04:12 +0000 (17:04 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 6 Apr 2011 17:04:12 +0000 (17:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/utilsunx.cpp

index 455db74030bb0bd16ba34cbfacd672f7c0c408de..ec550fcf244c9a990bec2e530683fd7418e9533a 100644 (file)
@@ -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 =