aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-linux-process.patch
blob: 3caef041faece481f5fbbf127f6e89b5884c479a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Make sure the auto-regenerated headers (after scripts/MakeHeader.py) actually compile.

--- a/linux/LinuxProcess.c	2018-04-26 18:17:31.349248819 +0200
+++ b/linux/LinuxProcess.c	2018-04-11 02:58:46.994360617 +0200
@@ -143,7 +143,7 @@
 } LinuxProcess;
 
 #ifndef Process_isKernelThread
-#define Process_isKernelThread(_process) ((LinuxProcess*)(_process)->isKernelThread)
+#define Process_isKernelThread(_process) (((LinuxProcess*)(_process))->isKernelThread)
 #endif
 
 #ifndef Process_isUserlandThread

© 2014-2024 Faster IT GmbH | imprint | privacy policy