mirror of https://github.com/eclipse/paho.mqtt.c
Add __func__ macro for Windows
This commit is contained in:
parent
fd46e0b857
commit
913ee39d24
|
|
@ -154,6 +154,10 @@ void MyLog(int LOGA_level, char* format, ...)
|
|||
int tests = 0;
|
||||
int failures = 0;
|
||||
|
||||
#if !defined(__func__)
|
||||
#define __func__ __FUNCTION__
|
||||
#endif
|
||||
|
||||
#define ASSERT(condition, message) \
|
||||
do { \
|
||||
tests++; \
|
||||
|
|
|
|||
Loading…
Reference in New Issue