We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27fc8a2 commit 6c2f71aCopy full SHA for 6c2f71a
src/common/tusb_compiler.h
@@ -56,7 +56,7 @@
56
#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
57
#define TU_VERIFY_STATIC _Static_assert
58
#elif defined(__CCRX__)
59
- #define TU_VERIFY_STATIC(const_expr, _mess) typedef char TU_XSTRCAT3(Line, __LINE__, _TU_COUNTER_)[(const_expr) ? 1 : 0];
+ #define TU_VERIFY_STATIC(const_expr, _mess) typedef char TU_XSTRCAT(_verify_static_, _TU_COUNTER_)[(const_expr) ? 1 : 0];
60
#else
61
#define TU_VERIFY_STATIC(const_expr, _mess) enum { TU_XSTRCAT(_verify_static_, _TU_COUNTER_) = 1/(!!(const_expr)) }
62
#endif
0 commit comments