Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis bnoordhuis/patsje.patch Secret
Created Nov 3, 2012

Embed
What would you like to do?
diff --git a/uv.gyp b/uv.gyp
index 14930cf..96ee36e 100644
--- a/uv.gyp
+++ b/uv.gyp
@@ -32,7 +32,13 @@
'direct_dependent_settings': {
'include_dirs': [ 'include' ],
'conditions': [
- ['OS=="linux"', {
+ ['OS != "win"', {
+ 'defines': [ '_LARGEFILE_SOURCE', '_FILE_OFFSET_BITS=64' ],
+ }],
+ ['OS == "mac"', {
+ 'defines': [ '_DARWIN_USE_64_BIT_INODE=1' ],
+ },
+ ['OS == "linux"', {
'libraries': [ '-ldl' ],
}],
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.