summaryrefslogtreecommitdiff
path: root/lib/verify.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-02-25 17:01:22 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2023-02-25 17:13:29 -0800
commit6a3a729705f74f630d0a98344531f39d051b543e (patch)
tree8b8ccb0abca0f9bee086d1d9e2fcfe8dd037a816 /lib/verify.h
parente91d29f0048d49c4f186e76b8d55cf39e7e77d63 (diff)
downloademacs-6a3a729705f74f630d0a98344531f39d051b543e.tar.gz
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib/verify.h')
-rw-r--r--lib/verify.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/verify.h b/lib/verify.h
index 8f786af7f5a..f0b3fc5851b 100644
--- a/lib/verify.h
+++ b/lib/verify.h
@@ -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