]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Compiles again on Darwin.
authorBart Van Assche <bvanassche@acm.org>
Sun, 23 Aug 2009 11:17:25 +0000 (11:17 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 23 Aug 2009 11:17:25 +0000 (11:17 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10863

coregrind/m_aspacemgr/aspacemgr-linux.c

index f7c3446ac3a8c18c54ae0311fb0874247e9365f3..53ed143a2dc06faa545cc0b1e1da014e1ee887d0 100644 (file)
@@ -2986,6 +2986,8 @@ Bool VG_(am_relocate_nooverlap_client)( /*OUT*/Bool* need_discard,
 #endif // HAVE_MREMAP
 
 
+#if defined(VGO_linux)
+
 /*-----------------------------------------------------------------*/
 /*---                                                           ---*/
 /*--- A simple parser for /proc/self/maps on Linux 2.4.X/2.6.X. ---*/
@@ -3491,6 +3493,8 @@ Bool VG_(get_changed_segments)(
    return !css_overflowed;
 }
 
+#endif // defined(VGO_linux)
+
 
 #endif // defined(VGO_linux) || defined(VGO_darwin)