aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2022-03-30 12:53:24 -0700
committerElliott Hughes <enh@google.com>2022-03-31 17:02:36 -0700
commit32b57fab5e2ada00e7011ec7e121549f0b94659e (patch)
treeac2c1f74fc9f119d7b39c2bd501643c2e8596aeb
parent5e68c42b3ef5fc8ca66ea6e281b01e54c2599e11 (diff)
downloadstrace-32b57fab5e2ada00e7011ec7e121549f0b94659e.tar.gz
Update for C11.
Test: treehugger Change-Id: I5685769092466a5b4f1ebc3ca56de742bcdb298f
-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