|
From: <sv...@va...> - 2009-08-23 11:17:37
|
Author: bart
Date: 2009-08-23 12:17:25 +0100 (Sun, 23 Aug 2009)
New Revision: 10863
Log:
Compiles again on Darwin.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
===================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-linux.c 2009-08-23 11:14:12 UTC (rev 10862)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-linux.c 2009-08-23 11:17:25 UTC (rev 10863)
@@ -2986,6 +2986,8 @@
#endif // HAVE_MREMAP
+#if defined(VGO_linux)
+
/*-----------------------------------------------------------------*/
/*--- ---*/
/*--- A simple parser for /proc/self/maps on Linux 2.4.X/2.6.X. ---*/
@@ -3491,7 +3493,9 @@
return !css_overflowed;
}
+#endif // defined(VGO_linux)
+
#endif // defined(VGO_linux) || defined(VGO_darwin)
/*--------------------------------------------------------------------*/
|