X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51678b5b7639f756379245156b49dd54d7e28368..fb4888a650065c9a24572d6867345f34adafaa37:/include/wx/unix/execute.h?ds=sidebyside 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