aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2022-04-01 17:53:03 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-04-01 17:53:03 +0000
commit03689cc40ee0d67eda2a47002e82c41980da88d5 (patch)
treeac2c1f74fc9f119d7b39c2bd501643c2e8596aeb
parent5e68c42b3ef5fc8ca66ea6e281b01e54c2599e11 (diff)
parent32b57fab5e2ada00e7011ec7e121549f0b94659e (diff)
downloadstrace-03689cc40ee0d67eda2a47002e82c41980da88d5.tar.gz
Merge "Update for C11."
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index 7cccfc75..46a54927 100644
--- a/config.h
+++ b/config.h
@@ -978,7 +978,9 @@
#define HAVE_SIG_ATOMIC_T 1
/* Define to 1 if the system provides static_assert */
-/* #undef HAVE_STATIC_ASSERT */
+#if __STDC_VERSION__ >= 201112L
+#define HAVE_STATIC_ASSERT 1
+#endif
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1