mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
util.pposix: Limit meminfo to Linux until we can figure out how to get this info on other platforms
This commit is contained in:
parent
5ca8621ef4
commit
3c789f1ac7
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
|||
#include <linux/falloc.h>
|
||||
#endif
|
||||
|
||||
#if !defined(WITHOUT_MALLINFO)
|
||||
#if !defined(WITHOUT_MALLINFO) && defined(__linux__)
|
||||
#include <malloc.h>
|
||||
#define WITH_MALLINFO
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue