mirror of
https://github.com/KDE/konsole.git
synced 2026-06-17 02:09:17 -04:00
Use cmake to check if we're on DragonFly BSD instead of __DragonFly__
builds on dragonfly 3.4-RELEASE DragonFly
(cherry picked from commit 08fb406533)
This commit is contained in:
@@ -635,7 +635,7 @@ private:
|
||||
return false;
|
||||
}
|
||||
|
||||
#if defined(__DragonFly__)
|
||||
#if defined(HAVE_OS_DRAGONFLYBSD)
|
||||
setName(kInfoProc->kp_comm);
|
||||
setPid(kInfoProc->kp_pid);
|
||||
setParentPid(kInfoProc->kp_ppid);
|
||||
@@ -685,7 +685,7 @@ private:
|
||||
}
|
||||
|
||||
virtual bool readCurrentDir(int aPid) {
|
||||
#if defined(__DragonFly__)
|
||||
#if defined(HAVE_OS_DRAGONFLYBSD)
|
||||
char buf[PATH_MAX];
|
||||
int managementInfoBase[4];
|
||||
size_t len;
|
||||
|
||||
Reference in New Issue
Block a user