From eb52f7015a26a5baac36430269ed2725d04ef41d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 7 Feb 2016 13:33:01 -0800 Subject: [PATCH] Port to FreeBSD x86 Reported by Herbert J. Skuhra in: http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00336.html * src/lisp.h (NONPOINTER_BITS) [__FreeBSD__]: Zero in this case too, since malloc always returns a multiple of 8 in FreeBSD. --- src/lisp.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lisp.h b/src/lisp.h index c8363be7a93..21301702620 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -73,8 +73,9 @@ DEFINE_GDB_SYMBOL_END (GCTYPEBITS) 2. We know malloc returns a multiple of 8. */ #if (defined alignas \ && (defined GNU_MALLOC || defined DOUG_LEA_MALLOC || defined __GLIBC__ \ - || defined DARWIN_OS || defined __sun || defined __MINGW32__ \ - || defined CYGWIN)) + || defined CYGWIN || defined __MINGW32__ \ + || defined DARWIN_OS || defined __FreeBSD__ \ + || defined __sun)) # define NONPOINTER_BITS 0 #else # define NONPOINTER_BITS GCTYPEBITS -- 2.39.2