Changeset

7965:57f98394b830

util.pposix: Limit meminfo to Linux until we can figure out how to get this info on other platforms
author Kim Alvefur <zash@zash.se>
date Tue, 07 Mar 2017 22:33:57 +0100
parents 7964:1023f2add7fe
children 7966:30309fd01d76
files util-src/pposix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/pposix.c	Tue Mar 07 21:48:05 2017 +0100
+++ b/util-src/pposix.c	Tue Mar 07 22:33:57 2017 +0100
@@ -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