From 899b64aa5113f4c2deb0da8660b97ca5f20cc54d Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 2 Jan 2004 20:45:35 +0000 Subject: [PATCH] Cure link error under wxGTK on Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/unix/execute.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wx/unix/execute.h b/include/wx/unix/execute.h index ef2869a512..7336597b1d 100644 --- a/include/wx/unix/execute.h +++ b/include/wx/unix/execute.h @@ -28,7 +28,10 @@ extern void wxHandleProcessTermination(wxEndProcessData *proc_data); // this function is called to associate the port-specific callback with the // child process. The return valus is port-specific. extern int wxAddProcessCallback(wxEndProcessData *proc_data, int fd); + +#if defined(__DARWIN__) && defined(__WXMAC__) // For ports (e.g. DARWIN) which can add callbacks based on the pid extern int wxAddProcessCallbackForPid(wxEndProcessData *proc_data, int pid); +#endif #endif // _WX_UNIX_EXECUTE_H