diff options
Diffstat (limited to 'deps/uv/uv.gyp')
-rw-r--r-- | deps/uv/uv.gyp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/deps/uv/uv.gyp b/deps/uv/uv.gyp index e44087a572..a5dbf153db 100644 --- a/deps/uv/uv.gyp +++ b/deps/uv/uv.gyp @@ -190,6 +190,21 @@ ], }, }], + [ 'OS=="aix"', { + 'include_dirs': [ 'src/ares/config_aix' ], + 'sources': [ 'src/unix/aix.c' ], + 'defines': [ + '_ALL_SOURCE', + '_XOPEN_SOURCE=500', + 'EV_CONFIG_H="config_aix.h"', + 'EIO_CONFIG_H="config_aix.h"', + ], + 'direct_dependent_settings': { + 'libraries': [ + '-lperfstat', + ], + }, + }], [ 'OS=="freebsd"', { 'sources': [ 'src/unix/freebsd.c' ], 'defines': [ @@ -329,6 +344,12 @@ '_XOPEN_SOURCE=500', ], }], + [ 'OS=="aix"', { # make test-fs.c compile, needs _POSIX_C_SOURCE + 'defines': [ + '_ALL_SOURCE', + '_XOPEN_SOURCE=500', + ], + }], ], 'msvs-settings': { 'VCLinkerTool': { |