minor changes

This commit is contained in:
Shengliang Guan 2021-06-22 14:31:15 +08:00
parent ef8cffc1b8
commit 2f4da22b11
1 changed files with 2 additions and 3 deletions

View File

@ -40,10 +40,9 @@ extern "C" {
#define ASSERT(x) #define ASSERT(x)
#endif #endif
#ifdef UNUSED #ifndef UNUSED
#undefine UNUSED
#endif
#define UNUSED(x) ((void)(x)) #define UNUSED(x) ((void)(x))
#endif
#ifdef UNUSED_FUNC #ifdef UNUSED_FUNC
#undefine UNUSED_FUNC #undefine UNUSED_FUNC