Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
build: define _DARWIN_USE_64_BIT_INODE=1 on OS X
Browse files Browse the repository at this point in the history
Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
mismatches.

Fixes #2061.
  • Loading branch information
bnoordhuis committed Apr 2, 2012
1 parent 0810936 commit 92c0c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 92c0c69

Please sign in to comment.