summaryrefslogtreecommitdiffstats
path: root/config/external/nspr/pr/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'config/external/nspr/pr/moz.build')
-rw-r--r--config/external/nspr/pr/moz.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/external/nspr/pr/moz.build b/config/external/nspr/pr/moz.build
index cc2ccb0..1fd9257 100644
--- a/config/external/nspr/pr/moz.build
+++ b/config/external/nspr/pr/moz.build
@@ -40,6 +40,8 @@ elif CONFIG['OS_TARGET'] in ('FreeBSD', 'OpenBSD', 'NetBSD'):
SOURCES += ['/nsprpub/pr/src/md/unix/%s.c' % CONFIG['OS_TARGET'].lower()]
elif CONFIG['OS_TARGET'] == 'Darwin':
OS_LIBS += ['-framework CoreServices']
+ DEFINES['FD_SETSIZE'] = 10240
+ DEFINES['_DARWIN_UNLIMITED_SELECT'] = True
if not CONFIG['HOST_MAJOR_VERSION']:
DEFINES.update(
HAS_CONNECTX=True,