X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fde6fcc9b551340a194ae4c726db5ab64b5c594..239c2e9674c8c6b9f0fd3d6fb94e2381691651b5:/src/mac/carbon/utilsexc.cpp diff --git a/src/mac/carbon/utilsexc.cpp b/src/mac/carbon/utilsexc.cpp index 624a9c0524..3b4903212c 100644 --- a/src/mac/carbon/utilsexc.cpp +++ b/src/mac/carbon/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