Blame patches/the_silver_searcher-2.1.0.local.patch
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
diff -ru the_silver_searcher-2.1.0.orig/src/main.c the_silver_searcher-2.1.0/src/main.c
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
--- the_silver_searcher-2.1.0.orig/src/main.c 2017-06-27 05:33:25.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
@@ -154,7 +154,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
}
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
#if defined(HAVE_PTHREAD_SETAFFINITY_NP) && (defined(USE_CPU_SET) || defined(HAVE_SYS_CPUSET_H))
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
if (opts.use_thread_affinity) {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
-#ifdef __linux__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
+#if defined(__linux__) || defined(__midipix__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
cpu_set_t cpu_set;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
#elif __FreeBSD__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d70de2 |
cpuset_t cpu_set;
|