2021-10-28 11:37:10 +02:00
|
|
|
--- ./deps/uv/src/unix/sysinfo-memory.c 2021-06-03 07:15:30.000000000 +0530
|
|
|
|
+++ ./deps/uv/src/unix/sysinfo-memory.c.mod 2021-06-18 20:31:00.255642197 +0530
|
2019-10-23 17:20:41 +02:00
|
|
|
@@ -25,6 +25,7 @@
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <sys/sysinfo.h>
|
|
|
|
|
|
|
|
+#ifndef __ANDROID__
|
|
|
|
uint64_t uv_get_free_memory(void) {
|
|
|
|
struct sysinfo info;
|
|
|
|
|
2021-10-28 11:37:10 +02:00
|
|
|
@@ -32,6 +33,7 @@
|
|
|
|
return (uint64_t) info.freeram * info.mem_unit;
|
2019-10-23 17:20:41 +02:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
+#endif
|
2021-10-28 11:37:10 +02:00
|
|
|
|
|
|
|
uint64_t uv_get_total_memory(void) {
|
|
|
|
struct sysinfo info;
|