summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mnt.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-05-26 00:47:24 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-05-26 00:47:48 -0700
commit9f7bfb6cb06f1480a0904184cabf187e03628e55 (patch)
tree89313fd0b6a9803297756742d2922c736d74ee9d /lisp/emacs-lisp/lisp-mnt.el
parentc4faf78a985aa8a147b4a5f7530ea43d0ad55835 (diff)
downloademacs-9f7bfb6cb06f1480a0904184cabf187e03628e55.tar.gz
emacs-9f7bfb6cb06f1480a0904184cabf187e03628e55.tar.bz2
emacs-9f7bfb6cb06f1480a0904184cabf187e03628e55.zip
Port struct Lisp_FLoat to oddball platforms
* src/lisp.h (struct Lisp_Float): Declare via GCALIGNED_UNION_MEMBER, not via GCALIGNED_STRUCT, since alloc.c creates these in arrays and GCALIGNED_STRUCT does not necessarily suffice to align struct Lisp_Float when it’s used in an array. This avoids undefined behavior on oddball machines where sizeof (struct Lisp_Float) is not a multiple of 8 and the compiler does not support __attribute__ ((aligned 8)).
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions