X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20123d495814b8b8543bf43fbd63aa7ec21e5d78..c2a9fc6aff98a549dc56e9dcf330e5aeb73e7b0f:/include/wx/unix/execute.h diff --git a/include/wx/unix/execute.h b/include/wx/unix/execute.h index 7af0c51977..5f9c4f497d 100644 --- a/include/wx/unix/execute.h +++ b/include/wx/unix/execute.h @@ -12,7 +12,7 @@ #include "wx/unix/pipe.h" -class WXDLLIMPEXP_BASE wxProcess; +class WXDLLIMPEXP_FWD_BASE wxProcess; class wxStreamTempInputBuffer; // if pid > 0, the execution is async and the data is freed in the callback @@ -71,7 +71,7 @@ extern WXDLLIMPEXP_BASE void wxHandleProcessTermination(wxEndProcessData *proc_d // child process. The return valus is port-specific. extern WXDLLIMPEXP_CORE int wxAddProcessCallback(wxEndProcessData *proc_data, int fd); -#if defined(__DARWIN__) && (defined(__WXMAC__) || defined(__WXCOCOA__)) +#if 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