This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit c55a9cdbf309e8c16c037ab38eebec71a6677009
Author: JosiahWI <[email protected]>
AuthorDate: Mon Jun 10 13:15:57 2024 -0500

    Fix building without HWLOC (#11435)
    
    Fixes #11434.
    
    (cherry picked from commit 44a41cb5d7561f1ddd12172f144c7fce2269604f)
---
 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 8af918dd75..3c2769591c 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;

Reply via email to