mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
Fixed compilation on FreeBSD
This commit is contained in:
parent
3bcffcbe5b
commit
c4df22afb6
@ -262,7 +262,7 @@ size_t zmalloc_get_rss(void) {
|
|||||||
return t_info.resident_size;
|
return t_info.resident_size;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
float zmalloc_get_rss(void) {
|
size_t zmalloc_get_rss(void) {
|
||||||
/* If we can't get the RSS in an OS-specific way for this system just
|
/* If we can't get the RSS in an OS-specific way for this system just
|
||||||
* return the memory usage we estimated in zmalloc()..
|
* return the memory usage we estimated in zmalloc()..
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user