about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-26 17:40:01 +0000
committerEric Wong <normalperson@yhbt.net>2011-01-26 17:40:41 +0000
commitbc8a71ea4fee6e4ed35dad245511508ac0b7bf4b (patch)
treed8a3a39c9f099bf4ae9e9eea074fdd15f9815e6b /t
parent667b05819b85165061c445fb2c75ef161a5de5b6 (diff)
downloadrainbows-bc8a71ea4fee6e4ed35dad245511508ac0b7bf4b.tar.gz
epoll is Linux-only right now.  kqueue probably isn't worth
supporting directly (and even direct epoll support is debatable
given the current GVL situation)
Diffstat (limited to 't')
-rw-r--r--t/GNUmakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/GNUmakefile b/t/GNUmakefile
index 538065c..21b5154 100644
--- a/t/GNUmakefile
+++ b/t/GNUmakefile
@@ -19,8 +19,10 @@ endif
 RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))')
 export RUBY_VERSION RUBY_ENGINE
 
-models += XAcceptEpoll
-models += Epoll
+ifeq (Linux,$(shell uname -s))
+  models += XAcceptEpoll
+  models += Epoll
+endif
 models += WriterThreadPool
 models += WriterThreadSpawn
 models += ThreadPool