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.
This commit is contained in:
parent
7149cc54e7
commit
eb52f7015a
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue