[Konsole-devel] KDE/kdebase/apps/konsole/src

Kurt Hindenburg kurt.hindenburg at gmail.com
Mon Jul 13 21:20:50 UTC 2009


What's the purpose of this?  Does it not compile on your system?  If you
look below, you'll see there are #ifdef already.

Kurt

On Mon, Jul 13, 2009 at 12:18 PM, Pino Toscano <pino at kde.org> wrote:

> SVN commit 995969 by pino:
>
> compile the MacProcessInfo class only on macosx, as it uses macosx-specific
> api
>
>
>  M  +2 -2      ProcessInfo.cpp
>
>
> --- trunk/KDE/kdebase/apps/konsole/src/ProcessInfo.cpp #995968:995969
> @@ -571,6 +571,7 @@
>     }
>  } ;
>
> +#if defined(Q_OS_MAC)
>  class MacProcessInfo : public UnixProcessInfo
>  {
>  public:
> @@ -582,7 +583,6 @@
>  private:
>     virtual bool readProcInfo(int pid)
>     {
> -#if defined(Q_OS_MAC)
>         int managementInfoBase[4];
>         size_t mibLength;
>         struct kinfo_proc* kInfoProc;
> @@ -638,7 +638,6 @@
>             }
>         }
>         return true;
> -#endif
>     }
>
>     virtual bool readArguments(int pid)
> @@ -654,6 +653,7 @@
>         return false;
>     }
>  } ;
> +#endif
>
>  #ifdef Q_OS_SOLARIS
>     // The procfs structure definition requires off_t to be
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20090713/f3a7ac9e/attachment.html>


More information about the konsole-devel mailing list