diff options
| author | Ha Thach <[email protected]> | 2023-02-22 17:35:07 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-02-22 17:35:07 +0700 |
| commit | 8fadaf01d3cb8d833ff427a7bd3c369a6d0937fc (patch) | |
| tree | 192d7e73278bef02ae7d576e8ba52fff4cdd1069 /src/common/tusb_compiler.h | |
| parent | 557bf82336311611ba3b06e57f48d03362f3d2c3 (diff) | |
| parent | 498989ee009c388a770e7a312ae04d0a51ba745a (diff) | |
Merge pull request #1919 from hathach/use-tu-static-for-fuzz
use tu_static instead of static _fuzz_thread
Diffstat (limited to 'src/common/tusb_compiler.h')
| -rw-r--r-- | src/common/tusb_compiler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h index 3eb6b41f7..30478ba6d 100644 --- a/src/common/tusb_compiler.h +++ b/src/common/tusb_compiler.h @@ -63,9 +63,9 @@ /* --------------------- Fuzzing types -------------------------------------- */ #ifdef _FUZZ - #define _fuzz_thread __thread + #define tu_static static __thread #else - #define _fuzz_thread + #define tu_static static #endif // for declaration of reserved field, make use of _TU_COUNTER_ |
