Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
build: compile all targets with large file support
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Oct 12, 2011
1 parent 72fb469 commit 014394d
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions uv.gyp
@@ -1,4 +1,17 @@
{
'target_defaults': {
'conditions': [
['OS != "win"', {
'defines': [
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
'_GNU_SOURCE',
'EIO_STACKSIZE=262144'
],
}],
],
},

'targets': [
{
'target_name': 'uv',
Expand Down Expand Up @@ -171,12 +184,6 @@
'src/unix/ev/event.h',
],
'include_dirs': [ 'src/unix/ev', ],
'defines': [
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
'_GNU_SOURCE',
'EIO_STACKSIZE=262144'
],
'libraries': [ '-lm' ]
}],
[ 'OS=="mac"', {
Expand Down

0 comments on commit 014394d

Please sign in to comment.