From 22d1d3dbf73d9471b0cc3d5391d26a3563eb0e24 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 18 Dec 2009 15:45:53 +0100 Subject: [PATCH] Fix kqueue check (broke it in last commit) --- deps/libev/wscript | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deps/libev/wscript b/deps/libev/wscript index 98932cc31b..7075db7653 100644 --- a/deps/libev/wscript +++ b/deps/libev/wscript @@ -27,10 +27,11 @@ def configure(conf): if conf.check_cc(header_name="poll.h"): conf.check_cc(header_name="poll.h", function_name="poll") - if conf.check_cc(header_name="sys/event.h"): + conf.check_cc(header_name="sys/event.h") + conf.check_cc(header_name="sys/queue.h") + if PLATFORM_IS_DARWIN: conf.check_cc(header_name="sys/event.h", function_name="kqueue") - - if conf.check_cc(header_name="sys/queue.h"): + else: conf.check_cc(header_name="sys/queue.h", function_name="kqueue") if conf.check_cc(header_name="sys/select.h"):