X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6213bde14743eefdd6fad27fb0b6cb907455d1ba..ce76f779c6cfd2155de825021cc645572fe43625:/include/wx/unix/execute.h diff --git a/include/wx/unix/execute.h b/include/wx/unix/execute.h index 9bb61aedd5..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__) && defined(__WXMAC__) +#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