Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Revert "build: compile with -D__DARWIN_64_BIT_INO_T on OS X"

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 d5feb1c280d0b14fa8ef116dd02ce1a243b81869
Showing with 0 additions and 5 deletions.
  1. +0 −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');

0 comments on commit d5feb1c

Please sign in to comment.
You can’t perform that action at this time.