mirror of
https://github.com/espressif/openthread.git
synced 2026-08-26 12:11:17 +00:00
[debug] override any existing assert definitions (#4329)
This commit is contained in:
committed by
Jonathan Hui
parent
af73358d3f
commit
8158343004
@@ -56,6 +56,10 @@
|
||||
#define FILE_NAME __FILE__
|
||||
#endif
|
||||
|
||||
#ifdef assert
|
||||
#undef assert
|
||||
#endif
|
||||
|
||||
#define assert(cond) \
|
||||
do \
|
||||
{ \
|
||||
@@ -70,6 +74,10 @@
|
||||
|
||||
#else
|
||||
|
||||
#ifdef assert
|
||||
#undef assert
|
||||
#endif
|
||||
|
||||
#define assert(cond) \
|
||||
do \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user