What's the purpose of this? Does it not compile on your system? If you look below, you'll see there are #ifdef already.<br><br>Kurt<br><br><div class="gmail_quote">On Mon, Jul 13, 2009 at 12:18 PM, Pino Toscano <span dir="ltr"><<a href="mailto:pino@kde.org">pino@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">SVN commit 995969 by pino:<br>
<br>
compile the MacProcessInfo class only on macosx, as it uses macosx-specific api<br>
<br>
<br>
M +2 -2 ProcessInfo.cpp<br>
<br>
<br>
--- trunk/KDE/kdebase/apps/konsole/src/ProcessInfo.cpp #995968:995969<br>
@@ -571,6 +571,7 @@<br>
}<br>
} ;<br>
<br>
+#if defined(Q_OS_MAC)<br>
class MacProcessInfo : public UnixProcessInfo<br>
{<br>
public:<br>
@@ -582,7 +583,6 @@<br>
private:<br>
virtual bool readProcInfo(int pid)<br>
{<br>
-#if defined(Q_OS_MAC)<br>
int managementInfoBase[4];<br>
size_t mibLength;<br>
struct kinfo_proc* kInfoProc;<br>
@@ -638,7 +638,6 @@<br>
}<br>
}<br>
return true;<br>
-#endif<br>
}<br>
<br>
virtual bool readArguments(int pid)<br>
@@ -654,6 +653,7 @@<br>
return false;<br>
}<br>
} ;<br>
+#endif<br>
<br>
#ifdef Q_OS_SOLARIS<br>
// The procfs structure definition requires off_t to be<br>
</blockquote></div><br>