X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fde6fcc9b551340a194ae4c726db5ab64b5c594..bc5a847c1b4d89a9e26a3ac7b9e75f41b7530316:/src/mac/utilsexc.cpp?ds=sidebyside diff --git a/src/mac/utilsexc.cpp b/src/mac/utilsexc.cpp index 624a9c0524..3b4903212c 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,7 +22,7 @@ #include #include -#ifndef __UNIX__ +#ifndef __DARWIN__ #define wxEXECUTE_WIN_MESSAGE 10000 long wxExecute(const wxString& command, bool sync, wxProcess *handler) @@ -32,10 +32,10 @@ long wxExecute(const wxString& command, bool sync, wxProcess *handler) } #endif -#ifdef __UNIX__ +#ifdef __DARWIN__ int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) { wxFAIL_MSG(wxT("wxAddProcessCallback() function not ready")); return 0; } -#endif \ No newline at end of file +#endif