diff options
author | Hugo Musso Gualandi <hugo_musso_gualandi@hotmail.com> | 2020-09-12 19:18:23 -0300 |
---|---|---|
committer | Hugo Musso Gualandi <hugo_musso_gualandi@hotmail.com> | 2020-09-12 19:21:27 -0300 |
commit | a2ef400e4354125183015700fc859300ec63c477 (patch) | |
tree | 888657a6e9c13ed3e076f30ebdd759a6d401e4c7 | |
parent | 5ad3c11eaad3f75b09569758e0b67d18933a6278 (diff) |
Merge identical ifdefs in Affinity.h
-rw-r--r-- | Affinity.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -24,13 +24,7 @@ void Affinity_delete(Affinity* this); void Affinity_add(Affinity* this, int id); -#ifdef HAVE_LIBHWLOC - -Affinity* Affinity_get(Process* proc, ProcessList* pl); - -bool Affinity_set(Process* proc, Arg arg); - -#elif HAVE_LINUX_AFFINITY +#if defined(HAVE_LIBHWLOC) || defined(HAVE_LINUX_AFFINITY) Affinity* Affinity_get(Process* proc, ProcessList* pl); |