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:
Faster IT 2018-05-23 04:09:20 +02:00 committed by Hisham Muhammad
parent 04cc193e3c
commit e1e3791363
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ typedef struct LinuxProcess_ {
} LinuxProcess;
#ifndef Process_isKernelThread
#define Process_isKernelThread(_process) ((LinuxProcess*)(_process)->isKernelThread)
#define Process_isKernelThread(_process) (((LinuxProcess*)(_process))->isKernelThread)
#endif
#ifndef Process_isUserlandThread