trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject trafficserver git commit: TS-4307 Checks for existence of alloca.h consistently
Date Sat, 26 Mar 2016 23:45:58 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master d38c09ca4 -> f39a0c4a8


TS-4307 Checks for existence of alloca.h consistently


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f39a0c4a
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f39a0c4a
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f39a0c4a

Branch: refs/heads/master
Commit: f39a0c4a8e77b24d03a503c34a3671345c074d6b
Parents: d38c09c
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Sat Mar 26 17:44:43 2016 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Sat Mar 26 17:44:43 2016 -0600

----------------------------------------------------------------------
 iocore/eventsystem/UnixEventProcessor.cc | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f39a0c4a/iocore/eventsystem/UnixEventProcessor.cc
----------------------------------------------------------------------
diff --git a/iocore/eventsystem/UnixEventProcessor.cc b/iocore/eventsystem/UnixEventProcessor.cc
index 7711965..70e5934 100644
--- a/iocore/eventsystem/UnixEventProcessor.cc
+++ b/iocore/eventsystem/UnixEventProcessor.cc
@@ -24,7 +24,9 @@
 #include "P_EventSystem.h" /* MAGIC_EDITING_TAG */
 #include <sched.h>
 #if TS_USE_HWLOC
+#if HAVE_ALLOCA_H
 #include <alloca.h>
+#endif
 #include <hwloc.h>
 #endif
 #include "ts/ink_defs.h"


Mime
View raw message