]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsunx.cpp
regenerated makefiles, with support for multilib build
[wxWidgets.git] / src / unix / utilsunx.cpp
index f6d60dcf320a3fa8c5fc1c64b67d6e218f54ef96..2f15a8cb268c60c4a02a9b3272f776330c1ccc83 100644 (file)
@@ -21,6 +21,7 @@
 #include "wx/intl.h"
 #include "wx/log.h"
 #include "wx/app.h"
+#include "wx/apptrait.h"
 
 #include "wx/utils.h"
 #include "wx/process.h"
@@ -1079,7 +1080,7 @@ bool wxGUIAppTraits::CreateEndProcessPipe(wxExecuteData& execData)
 
 bool wxGUIAppTraits::IsWriteFDOfEndProcessPipe(wxExecuteData& execData, int fd)
 {
-    return fd == execData.pipeEndProcDetect[wxPipe::Write]
+    return fd == (execData.pipeEndProcDetect)[wxPipe::Write];
 }
 
 void wxGUIAppTraits::DetachWriteFDOfEndProcessPipe(wxExecuteData& execData)