summaryrefslogtreecommitdiffstats
path: root/config/external/nspr/pr
diff options
context:
space:
mode:
authorJed Davis <jld@mozilla.com>2019-05-28 15:18:54 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-28 15:18:54 +0200
commit66b55fbc0a2cddcd3a8ef6b15528b3c48c01e4a8 (patch)
tree0b0890fd04c65936db4cf423188f4d509dc4b79f /config/external/nspr/pr
parent9b655e3666a6eae6f217e584ef3915c8ff99ddc1 (diff)
downloadUXP-66b55fbc0a2cddcd3a8ef6b15528b3c48c01e4a8.tar
UXP-66b55fbc0a2cddcd3a8ef6b15528b3c48c01e4a8.tar.gz
UXP-66b55fbc0a2cddcd3a8ef6b15528b3c48c01e4a8.tar.lz
UXP-66b55fbc0a2cddcd3a8ef6b15528b3c48c01e4a8.tar.xz
UXP-66b55fbc0a2cddcd3a8ef6b15528b3c48c01e4a8.zip
Tweak some NSPR variables for Darwin.
Diffstat (limited to 'config/external/nspr/pr')
-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 cda249b8a..af710f850 100644
--- a/config/external/nspr/pr/moz.build
+++ b/config/external/nspr/pr/moz.build
@@ -38,6 +38,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
DEFINES.update(
DARWIN=True,
HAVE_BSD_FLOCK=True,