]> git.saurik.com Git - wxWidgets.git/commitdiff
Cure link error under wxGTK on Mac
authorJulian Smart <julian@anthemion.co.uk>
Fri, 2 Jan 2004 20:45:35 +0000 (20:45 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 2 Jan 2004 20:45:35 +0000 (20:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/unix/execute.h

index fd4d0269042d74af29e40c5aba67dd8cc5cb0df6..9bb61aedd554bcadf6ddf5cd4a4489a5fedd00f5 100644 (file)
@@ -71,7 +71,9 @@ extern void wxHandleProcessTermination(wxEndProcessData *proc_data);
 // child process. The return valus is port-specific.
 extern int wxAddProcessCallback(wxEndProcessData *proc_data, int fd);
 
+#if defined(__DARWIN__) && defined(__WXMAC__)
 // For ports (e.g. DARWIN) which can add callbacks based on the pid
 extern int wxAddProcessCallbackForPid(wxEndProcessData *proc_data, int pid);
+#endif
 
 #endif // _WX_UNIX_EXECUTE_H