We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8e7cdf commit f07fa0fCopy full SHA for f07fa0f
include/tinycbor/compilersupport_p.h
@@ -53,9 +53,9 @@ extern "C" {
53
#endif
54
55
#if __STDC_VERSION__ >= 201112L || __cplusplus >= 201103L || __cpp_static_assert >= 200410
56
-# define cbor_static_assert(x) _Static_assert(x, #x)
+# define cbor_static_assert(x) static_assert(x, #x)
57
#elif !defined(__cplusplus) && defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 406) && (__STDC_VERSION__ > 199901L)
58
59
#else
60
# define cbor_static_assert(x) ((void)sizeof(char[2*!!(x) - 1]))
61
0 commit comments