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)
#endif
#ifdef UNUSED
#undefine UNUSED
#endif
#ifndef UNUSED
#define UNUSED(x) ((void)(x))
#endif
#ifdef UNUSED_FUNC
#undefine UNUSED_FUNC