X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9576ca53db96b462ed4c0b4bdf47d64c40203e4..7946d7deaac081a745dc616a5eb13ae864865fa2:/src/mac/carbon/utilsexc.cpp diff --git a/src/mac/carbon/utilsexc.cpp b/src/mac/carbon/utilsexc.cpp index b842d08e90..3b4903212c 100644 --- a/src/mac/carbon/utilsexc.cpp +++ b/src/mac/carbon/utilsexc.cpp @@ -14,11 +14,15 @@ #endif #include "wx/utils.h" +#ifdef __DARWIN__ +#include "wx/unix/execute.h" +#endif #include #include #include +#ifndef __DARWIN__ #define wxEXECUTE_WIN_MESSAGE 10000 long wxExecute(const wxString& command, bool sync, wxProcess *handler) @@ -26,3 +30,12 @@ long wxExecute(const wxString& command, bool sync, wxProcess *handler) // TODO return 0; } +#endif + +#ifdef __DARWIN__ +int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) +{ + wxFAIL_MSG(wxT("wxAddProcessCallback() function not ready")); + return 0; +} +#endif