]> git.eshelyaron.com Git - emacs.git/commitdiff
src/emacs.c (my_heap_start): #ifdef to avoid warnings when unused.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 8 Sep 2011 10:59:22 +0000 (12:59 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 8 Sep 2011 10:59:22 +0000 (12:59 +0200)
src/ChangeLog
src/emacs.c

index 44b8e168031142d0a6e26f6c4c6825216d2d147c..a4c985b1a0ca1ec374e3fecde227d88c0971cd08 100644 (file)
@@ -1,3 +1,7 @@
+2011-09-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs.c (my_heap_start): #ifdef to avoid warnings when unused.
+
 2011-09-07  Eli Zaretskii  <eliz@gnu.org>
 
        * xdisp.c (move_it_in_display_line_to): Call RESTORE_IT on ppos_it
index 83ad8d9515639e78c62998f817ceabf290f496e0..ed4d9c49eb8330ce8bdc63d5f7a054c1ab488b40 100644 (file)
@@ -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.  */