about summary refs log tree commit homepage
path: root/t/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 't/GNUmakefile')
-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