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

jvanderzee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 44a41cb5d7 Fix building without HWLOC (#11435)
44a41cb5d7 is described below

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

    Fix building without HWLOC (#11435)
    
    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 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