diff --git a/config-unix.mk b/config-unix.mk index 8fe7254c..759be4e0 100644 --- a/config-unix.mk +++ b/config-unix.mk @@ -50,6 +50,7 @@ endif ifeq (Darwin,$(uname_S)) EV_CONFIG=config_darwin.h EIO_CONFIG=config_darwin.h +CPPFLAGS += -D__DARWIN_64_BIT_INO_T=1 CPPFLAGS += -Isrc/ares/config_darwin LINKFLAGS+=-framework CoreServices OBJS += src/unix/darwin.o diff --git a/uv.gyp b/uv.gyp index 83129b5c..88cee32b 100644 --- a/uv.gyp +++ b/uv.gyp @@ -9,6 +9,9 @@ 'EIO_STACKSIZE=262144' ], 'conditions': [ + ['OS=="mac"', { + 'defines': ['__DARWIN_64_BIT_INO_T=1'], + }], ['OS=="solaris"', { 'cflags': ['-pthreads'], 'ldlags': ['-pthreads'],