diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-10 23:16:58 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-10 23:16:58 -0500 |
commit | 2b3259e99d2dc75706aea4ce2112e0e1ec5aedf7 (patch) | |
tree | bd8ac918c1199533275e381eaba2de28bc226f96 /toc.c | |
parent | 56a9ba5ea53a5d0b6268939d6a6e89837c2e4658 (diff) |
realized i need to be able to export untyped expressions!
Diffstat (limited to 'toc.c')
-rw-r--r-- | toc.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -27,6 +27,13 @@ #define inline #endif +#if __STDC_VERSION__ >= 201112 +#define possibly_static_assert(cond) static_assert(cond, "Assertion " #cond " failed.") +#else +#define possibly_static_assert assert +#endif + + #include "types.h" /* forward declarations for debugging */ |