]> granicus.if.org Git - gc/commitdiff
2009-08-08 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
authorhboehm <hboehm>
Sun, 9 Aug 2009 01:34:50 +0000 (01:34 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:45 +0000 (21:06 +0400)
(Mistakenly omitted from last check-in)
* include/private/gc_priv.h (GC_unmapped_bytes): Define as 0 for
not USE_MUNMAP case.

ChangeLog
include/private/gc_priv.h

index 1c9e8956004c45f6a08fc09c143338f80d154fa6..ccb5e97f61cc8d4a8ea3b0bc36518ff419e829be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-08  Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
+       (Mistakenly omitted from last check-in)
+       * include/private/gc_priv.h (GC_unmapped_bytes): Define as 0 for
+       not USE_MUNMAP case.
+
 2009-08-07  Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
        diff111 (supersedes diff101_cvs which, in turn, resembles diff52, diff75, diff83 partly)
 
@@ -22,8 +27,6 @@
        comments.
        * misc.c (GC_get_unmapped_bytes): New API function.
        * include/gc.h (GC_get_unmapped_bytes): New API prototype.
-       * include/private/gc_priv.h (GC_unmapped_bytes): Define as 0 for
-       not USE_MUNMAP case.
        * os_dep.c (GC_dirty_init): Move "ifdef GWW_VDB" block out of
        "ifdef MSWIN32" one (for Cygwin).
 
index 616173f15471c1a2186a4072373f2fddc61db42b..520c791083c9bf4b85887c6a16c0206e04b507cd 100644 (file)
@@ -1095,6 +1095,8 @@ GC_API GC_FAR struct _GC_arrays GC_arrays;
 #endif
 # ifdef USE_MUNMAP
 #   define GC_unmapped_bytes GC_arrays._unmapped_bytes
+# else
+#   define GC_unmapped_bytes 0
 # endif
 # if defined(MSWIN32) || defined(MSWINCE)
 #   define GC_heap_bases GC_arrays._heap_bases