blob: b843c83a7ec0a19c82ae65e01175ab836b427ab1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-wscript,v 1.1 2019/02/23 21:28:33 jperkin Exp $
Disable epoll on SunOS.
--- wscript.orig 2019-01-15 10:46:33.000000000 +0000
+++ wscript
@@ -40,7 +40,7 @@ def configure(conf):
conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION):
conf.define('USING_SYSTEM_PYTEVENT', 1)
- if conf.CHECK_FUNCS('epoll_create', headers='sys/epoll.h'):
+ if not sys.platform.startswith('sunos') and conf.CHECK_FUNCS('epoll_create', headers='sys/epoll.h'):
conf.DEFINE('HAVE_EPOLL', 1)
tevent_num_signals = 64
|