Navigation Menu

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

Commit

Permalink
build: compile with -D__DARWIN_64_BIT_INO_T on OS X
Browse files Browse the repository at this point in the history
Fixes a struct stat size mismatch on 64 bits machines that made Node crash with
a EXC_BAD_ACCESS on startup.

Fixes #2061 for gyp builds. Solution proposed by Paddy Byers.
  • Loading branch information
bnoordhuis committed Nov 25, 2011
1 parent cffd0bb commit 1cf13bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common.gypi
Expand Up @@ -128,6 +128,7 @@
],
}],
['OS=="mac"', {
'defines': ['__DARWIN_64_BIT_INO_T=1'],
'xcode_settings': {
'ALWAYS_SEARCH_USER_PATHS': 'NO',
'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
Expand Down

0 comments on commit 1cf13bc

Please sign in to comment.