diff options
| author | hathach <[email protected]> | 2024-04-09 17:12:15 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-09 17:12:15 +0700 |
| commit | 6c2f71ad19bbe9e3d346b5631ede9557b4252088 (patch) | |
| tree | 73ef8475e40dcc1e27b854ebf660e1e79d93e7bb /src | |
| parent | 27fc8a21cd06b20a60c947de795bf135f98c9610 (diff) | |
make veryfi static in ccrx consistent with the rest
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/tusb_compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h index 86d150c68..0d5570b1c 100644 --- a/src/common/tusb_compiler.h +++ b/src/common/tusb_compiler.h @@ -56,7 +56,7 @@ #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L #define TU_VERIFY_STATIC _Static_assert #elif defined(__CCRX__) - #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]; #else #define TU_VERIFY_STATIC(const_expr, _mess) enum { TU_XSTRCAT(_verify_static_, _TU_COUNTER_) = 1/(!!(const_expr)) } #endif |
