aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2016-02-07 13:33:01 -0800
committerPaul Eggert2016-02-07 13:33:18 -0800
commiteb52f7015a26a5baac36430269ed2725d04ef41d (patch)
treeb0998605b2393ed8b9dd98aa6a5b9e47ffb86db5 /src
parent7149cc54e7e8bb2266f44221d7f4b4bed70579f3 (diff)
downloademacs-eb52f7015a26a5baac36430269ed2725d04ef41d.tar.gz
emacs-eb52f7015a26a5baac36430269ed2725d04ef41d.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h5
1 files 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)
73 2. We know malloc returns a multiple of 8. */ 73 2. We know malloc returns a multiple of 8. */
74#if (defined alignas \ 74#if (defined alignas \
75 && (defined GNU_MALLOC || defined DOUG_LEA_MALLOC || defined __GLIBC__ \ 75 && (defined GNU_MALLOC || defined DOUG_LEA_MALLOC || defined __GLIBC__ \
76 || defined DARWIN_OS || defined __sun || defined __MINGW32__ \ 76 || defined CYGWIN || defined __MINGW32__ \
77 || defined CYGWIN)) 77 || defined DARWIN_OS || defined __FreeBSD__ \
78 || defined __sun))
78# define NONPOINTER_BITS 0 79# define NONPOINTER_BITS 0
79#else 80#else
80# define NONPOINTER_BITS GCTYPEBITS 81# define NONPOINTER_BITS GCTYPEBITS