diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-02 23:44:36 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-02 23:44:38 +0200 |
commit | ffee8739417a5db1d4e32f98fd28fea4c9bc8f42 (patch) | |
tree | 0a75588f5c416ce32f9144857ab6483dfbe6d191 /deps/uv | |
parent | 0965d2d9f61f12ea807e81024fc37fe8d29a5a27 (diff) | |
download | node-new-ffee8739417a5db1d4e32f98fd28fea4c9bc8f42.tar.gz |
build: define _DARWIN_USE_64_BIT_INODE=1 on OS X
Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
mismatches.
Fixes #2061.
Diffstat (limited to 'deps/uv')
-rw-r--r-- | deps/uv/config-unix.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uv/config-unix.mk b/deps/uv/config-unix.mk index 8fe7254cfd..ca1b1453e3 100644 --- a/deps/uv/config-unix.mk +++ b/deps/uv/config-unix.mk @@ -50,7 +50,7 @@ endif ifeq (Darwin,$(uname_S)) EV_CONFIG=config_darwin.h EIO_CONFIG=config_darwin.h -CPPFLAGS += -Isrc/ares/config_darwin +CPPFLAGS += -D_DARWIN_USE_64_BIT_INODE=1 -Isrc/ares/config_darwin LINKFLAGS+=-framework CoreServices OBJS += src/unix/darwin.o OBJS += src/unix/kqueue.o |