mirror of https://github.com/xzeldon/htop.git
Fix #define to match header when regenerating with MakeHeader.py (#789)
from Debian https://sources.debian.org/src/htop/2.2.0-1/debian/patches/fix-linux-process.patch/
This commit is contained in:
parent
04cc193e3c
commit
e1e3791363
|
@ -143,7 +143,7 @@ typedef struct LinuxProcess_ {
|
||||||
} LinuxProcess;
|
} LinuxProcess;
|
||||||
|
|
||||||
#ifndef Process_isKernelThread
|
#ifndef Process_isKernelThread
|
||||||
#define Process_isKernelThread(_process) ((LinuxProcess*)(_process)->isKernelThread)
|
#define Process_isKernelThread(_process) (((LinuxProcess*)(_process))->isKernelThread)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef Process_isUserlandThread
|
#ifndef Process_isUserlandThread
|
||||||
|
|
Loading…
Reference in New Issue