summaryrefslogtreecommitdiff
path: root/src/common/tusb_compiler.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-02-22 11:47:09 +0700
committerhathach <[email protected]>2023-02-22 11:47:09 +0700
commit03ec49450d2109a0e6ede3672e95426fd87aa48f (patch)
treeac0a78722a421177931ebd8ccc04034893f929b1 /src/common/tusb_compiler.h
parent18c3095346159a4f5c3db9775b4f7c6aebca77c2 (diff)
rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_thread
Diffstat (limited to 'src/common/tusb_compiler.h')
-rw-r--r--src/common/tusb_compiler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h
index 6a02959ca..c1a321a40 100644
--- a/src/common/tusb_compiler.h
+++ b/src/common/tusb_compiler.h
@@ -62,10 +62,10 @@
#endif
/* --------------------- Fuzzing types -------------------------------------- */
-#ifdef FUZZ
- #define TU_STATIC __thread static
+#ifdef _FUZZ
+ #define _fuzz_thread __thread
#else
- #define TU_STATIC static
+ #define _fuzz_thread
#endif
// for declaration of reserved field, make use of _TU_COUNTER_