1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08: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

@ -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_ */