X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51678b5b7639f756379245156b49dd54d7e28368..ce76f779c6cfd2155de825021cc645572fe43625:/include/wx/unix/execute.h diff --git a/include/wx/unix/execute.h b/include/wx/unix/execute.h index 225a4c188b..745674ec60 100644 --- a/include/wx/unix/execute.h +++ b/include/wx/unix/execute.h @@ -71,7 +71,7 @@ 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__) +#if defined(__DARWIN__) && (defined(__WXMAC__) || defined(__WXCOCOA__)) // For ports (e.g. DARWIN) which can add callbacks based on the pid extern int wxAddProcessCallbackForPid(wxEndProcessData *proc_data, int pid); #endif