From: Juanma Barranquero Date: Thu, 8 Sep 2011 10:59:22 +0000 (+0200) Subject: src/emacs.c (my_heap_start): #ifdef to avoid warnings when unused. X-Git-Tag: emacs-pretest-24.0.90~104^2~134 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2949f33b8a296064363f6416f64f535afe6b8eaa;p=emacs.git src/emacs.c (my_heap_start): #ifdef to avoid warnings when unused. --- diff --git a/src/ChangeLog b/src/ChangeLog index 44b8e168031..a4c985b1a0c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-09-08 Juanma Barranquero + + * emacs.c (my_heap_start): #ifdef to avoid warnings when unused. + 2011-09-07 Eli Zaretskii * xdisp.c (move_it_in_display_line_to): Call RESTORE_IT on ppos_it diff --git a/src/emacs.c b/src/emacs.c index 83ad8d95156..ed4d9c49eb8 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -171,8 +171,10 @@ int display_arg; Tells GC how to save a copy of the stack. */ char *stack_bottom; +#if defined (DOUG_LEA_MALLOC) || defined (GNU_LINUX) /* The address where the heap starts (from the first sbrk (0) call). */ static void *my_heap_start; +#endif #ifdef GNU_LINUX /* The gap between BSS end and heap start as far as we can tell. */