Files
ports/x11/libinput/files/patch-test_litest-runner.h
2026-10-04 04:07:15 +00:00

12 lines
269 B
C

--- test/litest-runner.h.orig 2026-04-02 01:04:12 UTC
+++ test/litest-runner.h
@@ -198,3 +198,8 @@ litest_runner_abort(void);
*/
__attribute__((noreturn)) void
litest_runner_abort(void);
+
+static int get_nprocs(void)
+{
+ return sysconf (_SC_NPROCESSORS_ONLN);
+}