Commit e1e37913 authored by Faster IT's avatar Faster IT Committed by Hisham Muhammad
Browse files

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/
parent 04cc193e
...@@ -143,7 +143,7 @@ typedef struct LinuxProcess_ { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment