]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/utilsexc.cpp
added url of Fink Unix to Mac OS X porting instructions
[wxWidgets.git] / src / mac / utilsexc.cpp
index b842d08e90f5d6c57449dea938df4c6a321f68c0..3b4903212c6ba5dacc30fb2a2ba8925b8261ce01 100644 (file)
 #endif
 
 #include "wx/utils.h"
+#ifdef __DARWIN__
+#include "wx/unix/execute.h"
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
+#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