Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Revert "build: compile with -D__DARWIN_64_BIT_INO_T on OS X"
Browse files Browse the repository at this point in the history
This reverts commit f004d5a.

__DARWIN_64_BIT_INO_T is a no-op in most cases and might be actively harmful in
some others.
  • Loading branch information
bnoordhuis committed Dec 1, 2011
1 parent 3d22dbf commit d5feb1c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions wscript
Expand Up @@ -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');
Expand Down

0 comments on commit d5feb1c

Please sign in to comment.