1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

MS-Windows followup for 2012-07-28T23:05:32Z!eggert@cs.ucla.edu.

nt/inc/stdalign.h (_Alignas, alignas): Define.
 src/makefile.w32-in (LISP_H): Add $(NT_INC)/stdalign.h.

Fixes: debbugs:9772
This commit is contained in:
Eli Zaretskii 2012-07-29 18:43:09 +03:00
parent dbcf001cd7
commit 55a6cca64f
4 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-07-29 Eli Zaretskii <eliz@gnu.org>
* inc/stdalign.h (_Alignas, alignas): Define.
2012-07-28 Paul Eggert <eggert@cs.ucla.edu>
Use Gnulib stdalign module (Bug#9772, Bug#9960).

View File

@ -13,4 +13,13 @@
#endif
#define alignof _Alignof
#if __GNUC__
# define _Alignas(a) __attribute__ ((__aligned__ (a)))
#elif 1300 <= _MSC_VER
# define _Alignas(a) __declspec (align (a))
#endif
#ifdef _Alignas
# define alignas _Alignas
#endif
#endif /* _NT_STDALIGN_H_ */

View File

@ -1,3 +1,7 @@
2012-07-29 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (LISP_H): Add $(NT_INC)/stdalign.h.
2012-07-29 Dmitry Antipov <dmantipov@yandex.ru>
Cleanup statistics calculation in Fgarbage_collect.

View File

@ -438,6 +438,7 @@ LANGINFO_H = $(NT_INC)/langinfo.h \
LISP_H = $(SRC)/lisp.h \
$(SRC)/globals.h \
$(GNU_LIB)/intprops.h \
$(NT_INC)/stdalign.h \
$(INTTYPES_H)
MD5_H = $(GNU_LIB)/md5.h \
$(NT_INC)/stdint.h