From ef5517aa0c65a5c0d2f683e13a0420bddde9c9fc Mon Sep 17 00:00:00 2001 From: cjihrig Date: Tue, 14 Jan 2020 22:28:57 -0500 Subject: [PATCH] deps: port uvwasi@676ba9a to gyp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit ports https://github.com/cjihrig/uvwasi/commit/676ba9a from CMake to gyp. PR-URL: https://github.com/nodejs/node/pull/31363 Reviewed-By: David Carlier Reviewed-By: Tobias Nießen Reviewed-By: Rich Trott Reviewed-By: Richard Lau --- deps/uvwasi/uvwasi.gyp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deps/uvwasi/uvwasi.gyp b/deps/uvwasi/uvwasi.gyp index c07b07b608b724..21ac35cdfc11ad 100644 --- a/deps/uvwasi/uvwasi.gyp +++ b/deps/uvwasi/uvwasi.gyp @@ -20,6 +20,14 @@ 'direct_dependent_settings': { 'include_dirs': ['include'] }, + 'conditions': [ + [ 'OS=="linux"', { + 'defines': [ + '_GNU_SOURCE', + '_POSIX_C_SOURCE=200112', + ], + }], + ], } ] }