emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 312bbfe: * src/alloc.c: Silence compiler warnings


From: Juanma Barranquero
Subject: [Emacs-diffs] master 312bbfe: * src/alloc.c: Silence compiler warnings
Date: Sat, 31 Oct 2015 21:35:05 +0000

branch: master
commit 312bbfee95cf24be6f8bae4de3864a2cce030e52
Author: Juanma Barranquero <address@hidden>
Commit: Juanma Barranquero <address@hidden>

    * src/alloc.c: Silence compiler warnings
    
    (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
---
 src/alloc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/alloc.c b/src/alloc.c
index 7c33687..8f94d2b 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -430,6 +430,7 @@ XFLOAT_INIT (Lisp_Object f, double n)
   XFLOAT (f)->u.data = n;
 }
 
+#ifdef DOUG_LEA_MALLOC
 static bool
 pointers_fit_in_lispobj_p (void)
 {
@@ -446,6 +447,7 @@ mmap_lisp_allowed_p (void)
      regions.  */
   return pointers_fit_in_lispobj_p () && !might_dump;
 }
+#endif
 
 /* Head of a circularly-linked list of extant finalizers. */
 static struct Lisp_Finalizer finalizers;



reply via email to

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