mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Update from Gnulib by running admin/merge-gnulib
This commit is contained in:
parent
e91d29f004
commit
6a3a729705
15 changed files with 259 additions and 57 deletions
|
|
@ -265,6 +265,8 @@ template <int w>
|
|||
# define _GL_SA3 static_assert
|
||||
# define _GL_SA_PICK(x1,x2,x3,x4,...) x4
|
||||
# define static_assert(...) _GL_EXPAND(_GL_SA_PICK(__VA_ARGS__,_GL_SA3,_GL_SA2,_GL_SA1)) (__VA_ARGS__)
|
||||
/* Avoid "fatal error C1189: #error: The C++ Standard Library forbids macroizing keywords." */
|
||||
# define _ALLOW_KEYWORD_MACROS 1
|
||||
# else
|
||||
# define static_assert _Static_assert /* C11 requires this #define. */
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue