mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 07:26:10 -04:00
Q_OS_MAC -> Q_OS_OSX
Q_OS_MAC includes OSX and iOS Patch from rjvbertin gmail com
This commit is contained in:
@@ -45,11 +45,11 @@
|
||||
#include <KUser>
|
||||
#include <QDebug>
|
||||
|
||||
#if defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) || defined(Q_OS_MAC)
|
||||
#if defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) || defined(Q_OS_OSX)
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
#if defined(Q_OS_OSX)
|
||||
#include <libproc.h>
|
||||
#include <qplatformdefs.h>
|
||||
#endif
|
||||
@@ -878,7 +878,7 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
#elif defined(Q_OS_MAC)
|
||||
#elif defined(Q_OS_OSX)
|
||||
class MacProcessInfo : public UnixProcessInfo
|
||||
{
|
||||
public:
|
||||
@@ -1184,7 +1184,7 @@ ProcessInfo* ProcessInfo::newInstance(int aPid, const QString& titleFormat, bool
|
||||
return new LinuxProcessInfo(aPid, titleFormat, enableEnvironmentRead);
|
||||
#elif defined(Q_OS_SOLARIS)
|
||||
return new SolarisProcessInfo(aPid, titleFormat, enableEnvironmentRead);
|
||||
#elif defined(Q_OS_MAC)
|
||||
#elif defined(Q_OS_OSX)
|
||||
return new MacProcessInfo(aPid, titleFormat, enableEnvironmentRead);
|
||||
#elif defined(Q_OS_FREEBSD)
|
||||
return new FreeBSDProcessInfo(aPid, titleFormat, enableEnvironmentRead);
|
||||
|
||||
Reference in New Issue
Block a user