emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105684: src/emacs.c (my_heap_start):


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105684: src/emacs.c (my_heap_start): #ifdef to avoid warnings when unused.
Date: Thu, 08 Sep 2011 12:59:22 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105684
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Thu 2011-09-08 12:59:22 +0200
message:
  src/emacs.c (my_heap_start): #ifdef to avoid warnings when unused.
modified:
  src/ChangeLog
  src/emacs.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-09-07 18:14:26 +0000
+++ b/src/ChangeLog     2011-09-08 10:59:22 +0000
@@ -1,3 +1,7 @@
+2011-09-08  Juanma Barranquero  <address@hidden>
+
+       * emacs.c (my_heap_start): #ifdef to avoid warnings when unused.
+
 2011-09-07  Eli Zaretskii  <address@hidden>
 
        * xdisp.c (move_it_in_display_line_to): Call RESTORE_IT on ppos_it

=== modified file 'src/emacs.c'
--- a/src/emacs.c       2011-09-04 19:18:28 +0000
+++ b/src/emacs.c       2011-09-08 10:59:22 +0000
@@ -171,8 +171,10 @@
    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.  */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]