From 15fd7f24a535683e5c59b2e812d03e84f3ec01b6 Mon Sep 17 00:00:00 2001 From: Josiah VanderZee Date: Mon, 10 Jun 2024 09:23:38 -0500 Subject: [PATCH] Fix building without HWLOC Fixes #11434. --- src/iocore/net/Connection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iocore/net/Connection.cc b/src/iocore/net/Connection.cc index 8af918dd759..3c2769591c0 100644 --- a/src/iocore/net/Connection.cc +++ b/src/iocore/net/Connection.cc @@ -250,7 +250,7 @@ Server::setup_fd_for_listen(bool non_blocking, const NetProcessor::AcceptOptions int cpu = 0; EThread *ethread = this_ethread(); -#ifdef TS_USE_HWLOC +#if TS_USE_HWLOC cpu = ethread->hwloc_obj->os_index; #else cpu = ethread->id;