diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-02 23:53:05 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-02 23:53:05 +0200 |
commit | 92c0c6953a03a0860e8ea1b9c1a18fbd7a4fc3c9 (patch) | |
tree | 4cbd5dba6348d0dd1f9b54383243b67d075b44cd /common.gypi | |
parent | 08109367e8a7ad88bfbddeaae766e067a640abfb (diff) | |
download | node-new-92c0c6953a03a0860e8ea1b9c1a18fbd7a4fc3c9.tar.gz |
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.
Diffstat (limited to 'common.gypi')
-rw-r--r-- | common.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
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 |