#endif
#include "wx/utils.h"
-#ifdef __UNIX__
+#ifdef __DARWIN__
#include "wx/unix/execute.h"
#endif
#include <stdlib.h>
#include <string.h>
-#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
return 0;
}
#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