build: export _POSIX_C_SOURCE=200112 to dependents
Fix direct_dependent_settings to export _POSIX_C_SOURCE=200112 to dependent projects. Required to make pthread_rwlock_t and pthread_barrier_t visible.
This commit is contained in:
parent
0820be7008
commit
6fb31493d7
6
uv.gyp
6
uv.gyp
@ -31,7 +31,11 @@
|
||||
'include_dirs': [ 'include' ],
|
||||
'conditions': [
|
||||
['OS != "win"', {
|
||||
'defines': [ '_LARGEFILE_SOURCE', '_FILE_OFFSET_BITS=64' ],
|
||||
'defines': [
|
||||
'_LARGEFILE_SOURCE',
|
||||
'_FILE_OFFSET_BITS=64',
|
||||
'_POSIX_C_SOURCE=200112',
|
||||
],
|
||||
}],
|
||||
['OS == "mac"', {
|
||||
'defines': [ '_DARWIN_USE_64_BIT_INODE=1' ],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user