From d5feb1c280d0b14fa8ef116dd02ce1a243b81869 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 1 Dec 2011 21:00:46 +0100 Subject: [PATCH] Revert "build: compile with -D__DARWIN_64_BIT_INO_T on OS X" This reverts commit f004d5aeac0a91a1731575d3ac9a80d710a1f48a. __DARWIN_64_BIT_INO_T is a no-op in most cases and might be actively harmful in some others. --- wscript | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wscript b/wscript index f15ecad766f..52c5edceeb2 100644 --- a/wscript +++ b/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');