[ wxwindows-Patches-1540790 ] wxMac universal patch
SourceForge.net
noreply at sourceforge.net
Tue Aug 15 10:15:49 PDT 2006
Patches item #1540790, was opened at 2006-08-15 13:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1540790&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gary Oberbrunner (garyoberbrunner)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxMac universal patch
Initial Comment:
Current cvs trunk of today does not build as universal_binary due to
missing include of sys/wait.h on Intel (i386) side. This patch fixes it by
moving the include up out of the "else" clause, since it's needed in both
cases (ppc and intel).
% cvs diff -u utilsexc_cf.cpp
Index: utilsexc_cf.cpp
===========================================
========================
RCS file: /pack/cvsroots/wxwidgets/wxWidgets/src/mac/
corefoundation/utilsexc_cf.cpp,v
retrieving revision 1.9
diff -u -r1.9 utilsexc_cf.cpp
--- utilsexc_cf.cpp 2006/07/24 17:13:38 1.9
+++ utilsexc_cf.cpp 2006/08/15 17:14:03
@@ -20,6 +20,7 @@
#include "wx/apptrait.h"
#include "wx/thread.h"
#include "wx/process.h"
+#include <sys/wait.h>
// Use polling instead of Mach ports, which doesn't work on Intel
// due to task_for_pid security issues.
@@ -119,7 +120,6 @@
#else
#include <CoreFoundation/CFMachPort.h>
-#include <sys/wait.h>
extern "C" {
#include <mach/mach.h>
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1540790&group_id=9863
More information about the wx-dev
mailing list