Commit f83783c
authored
fix(copyfile): inline linux/version.h (#12901)
The kernel headers cannot be expected to be available on every linux
distribution. The version header can therefore be inlined easily.
In the kernel, the generated file looks like:
```
define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + \
((c) > 255 ? 255 : (c)))';
```
but we don't really need the extra check on `c`.
fix #12896.1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments