From 92c0c6953a03a0860e8ea1b9c1a18fbd7a4fc3c9 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 2 Apr 2012 23:53:05 +0200 Subject: build: define _DARWIN_USE_64_BIT_INODE=1 on OS X Fixes a segmentation fault on some OS X systems due to sizeof(struct stat) mismatches. Fixes #2061. --- common.gypi | 1 + 1 file changed, 1 insertion(+) (limited to 'common.gypi') diff --git a/common.gypi b/common.gypi index a63fa94b30..a74e5c0226 100644 --- a/common.gypi +++ b/common.gypi @@ -152,6 +152,7 @@ ], }], ['OS=="mac"', { + 'defines': ['_DARWIN_USE_64_BIT_INODE=1'], 'xcode_settings': { 'ALWAYS_SEARCH_USER_PATHS': 'NO', 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks -- cgit v1.2.1