From: hboehm Date: Sun, 9 Aug 2009 01:34:50 +0000 (+0000) Subject: 2009-08-08 Hans Boehm (Really Ivan Maidanski) X-Git-Tag: gc7_2alpha4~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c56de32b70d0c0d99185a4c044a4616edc1c235a;p=gc 2009-08-08 Hans Boehm (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. --- diff --git a/ChangeLog b/ChangeLog index 1c9e8956..ccb5e97f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-08 Hans Boehm (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 (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). diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index 616173f1..520c7910 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -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