From 6b74e7b6bf4f0f030bbbfef48ae51c330d503eee Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 1 Jul 2019 11:01:55 -0400 Subject: [PATCH] unix: add uv_get_constrained_memory() cygwin stub PR-URL: https://github.com/libuv/libuv/pull/2361 Reviewed-By: Ben Noordhuis --- src/unix/cygwin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unix/cygwin.c b/src/unix/cygwin.c index 9da20e20..6b5cfb7b 100644 --- a/src/unix/cygwin.c +++ b/src/unix/cygwin.c @@ -52,3 +52,7 @@ void uv_free_cpu_info(uv_cpu_info_t* cpu_infos, int count) { (void)cpu_infos; (void)count; } + +uint64_t uv_get_constrained_memory(void) { + return 0; /* Memory constraints are unknown. */ +}