X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fde6fcc9b551340a194ae4c726db5ab64b5c594..a811affe70feeb727bf7fbd2748a48ded6ec3b9b:/src/mac/utilsexc.cpp?ds=sidebyside diff --git a/src/mac/utilsexc.cpp b/src/mac/utilsexc.cpp index 624a9c0524..d6553a7531 100644 --- a/src/mac/utilsexc.cpp +++ b/src/mac/utilsexc.cpp @@ -14,7 +14,7 @@ #endif #include "wx/utils.h" -#ifdef __UNIX__ +#ifdef __DARWIN__ #include "wx/unix/execute.h" #endif @@ -22,20 +22,21 @@ #include #include -#ifndef __UNIX__ +#ifndef __DARWIN__ #define wxEXECUTE_WIN_MESSAGE 10000 -long wxExecute(const wxString& command, bool sync, wxProcess *handler) +long wxExecute(const wxString& command, int flags, wxProcess *handler) { // TODO + wxFAIL_MSG( _T("wxExecute() not yet implemented") ); return 0; } #endif -#ifdef __UNIX__ +#ifdef __DARWIN__ int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) { - wxFAIL_MSG(wxT("wxAddProcessCallback() function not ready")); + wxFAIL_MSG( _T("wxAddProcessCallback() not yet implemented") ); return 0; } -#endif \ No newline at end of file +#endif