From bc87a8ff8c5b6374a00a950cd15e1b290d6c5e06 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 21 Nov 2011 02:52:41 +0000 Subject: Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an external libhwloc. (for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general ) --- ProcessList.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ProcessList.c') diff --git a/ProcessList.c b/ProcessList.c index 0ba17980..be01ca65 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -115,7 +115,7 @@ typedef struct ProcessList_ { int kernelThreads; int runningTasks; - #ifdef HAVE_HWLOC + #ifdef HAVE_LIBHWLOC hwloc_topology_t topology; bool topologyOk; #endif @@ -195,7 +195,7 @@ ProcessList* ProcessList_new(UsersTable* usersTable) { fclose(file); this->cpuCount = cpus - 1; -#ifdef HAVE_HWLOC +#ifdef HAVE_LIBHWLOC this->topologyOk = false; int topoErr = hwloc_topology_init(&this->topology); if (topoErr == 0) { -- cgit v1.2.3