From 6213bde14743eefdd6fad27fb0b6cb907455d1ba 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/trunk@25061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/unix/execute.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/unix/execute.h b/include/wx/unix/execute.h index fd4d026904..9bb61aedd5 100644 --- a/include/wx/unix/execute.h +++ b/include/wx/unix/execute.h @@ -71,7 +71,9 @@ extern void wxHandleProcessTermination(wxEndProcessData *proc_data); // 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