summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src/unix/freebsd.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-06-18 11:45:53 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-18 11:45:53 (GMT)
commit69b139cfca6c5eef64558070f533b6c898f410e0 (patch)
tree12d281e91cc1f71c56e2e1372589085df4df8265 /Utilities/cmlibuv/src/unix/freebsd.c
parentab63072381171e9c5a7164536f0912b8b3a4a313 (diff)
parentb4069b04ff63b327ff4881282200c3c73fded34d (diff)
downloadCMake-69b139cfca6c5eef64558070f533b6c898f410e0.zip
CMake-69b139cfca6c5eef64558070f533b6c898f410e0.tar.gz
CMake-69b139cfca6c5eef64558070f533b6c898f410e0.tar.bz2
Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv: libuv 2019-06-10 (ee24ce90)
Diffstat (limited to 'Utilities/cmlibuv/src/unix/freebsd.c')
-rw-r--r--Utilities/cmlibuv/src/unix/freebsd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/src/unix/freebsd.c b/Utilities/cmlibuv/src/unix/freebsd.c
index 0f729cf..7de88d6 100644
--- a/Utilities/cmlibuv/src/unix/freebsd.c
+++ b/Utilities/cmlibuv/src/unix/freebsd.c
@@ -137,6 +137,11 @@ uint64_t uv_get_total_memory(void) {
}
+uint64_t uv_get_constrained_memory(void) {
+ return 0; /* Memory constraints are unknown. */
+}
+
+
void uv_loadavg(double avg[3]) {
struct loadavg info;
size_t size = sizeof(info);