}
-#if defined(__DARWIN__) && defined(__WXMAC__)
+#if defined(__DARWIN__)
endProcData->tag = wxAddProcessCallbackForPid(endProcData, execData.pid);
#else
endProcData->tag = wxAddProcessCallback
);
execData.pipeEndProcDetect.Close();
-#endif // defined(__DARWIN__) && defined(__WXMAC__)
+#endif // defined(__DARWIN__)
if ( execData.flags & wxEXEC_SYNC )
{