From 92c0c6953a03a0860e8ea1b9c1a18fbd7a4fc3c9 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 2 Apr 2012 23:53:05 +0200 Subject: [PATCH] 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(+) diff --git a/common.gypi b/common.gypi index a63fa94b309..a74e5c02262 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