mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
Revert "build: compile with -D__DARWIN_64_BIT_INO_T on OS X"
This reverts commit f004d5aeac
.
__DARWIN_64_BIT_INO_T is a no-op in most cases and might be actively harmful in
some others.
This commit is contained in:
parent
3d22dbf27b
commit
d5feb1c280
5
wscript
5
wscript
@ -469,11 +469,6 @@ def configure(conf):
|
||||
conf.env.append_value('CPPFLAGS', '-D_LARGEFILE_SOURCE')
|
||||
conf.env.append_value('CPPFLAGS', '-D_FILE_OFFSET_BITS=64')
|
||||
|
||||
# Apparently _LARGEFILE_SOURCE and _FILE_OFFSET_BITS isn't always enough
|
||||
# on OS X, see https://github.com/joyent/node/issues/2061 for details.
|
||||
if sys.platform.startswith('darwin') and conf.env['DEST_CPU'] == 'x64':
|
||||
conf.env.append_value('CPPFLAGS', '-D__DARWIN_64_BIT_INO_T=1')
|
||||
|
||||
# Makes select on windows support more than 64 FDs
|
||||
if sys.platform.startswith("win32"):
|
||||
conf.env.append_value('CPPFLAGS', '-DFD_SETSIZE=1024');
|
||||
|
Loading…
Reference in New Issue
Block a user