mirror of https://mirror.osredm.com/root/redis.git
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…
Reference in New Issue