Add __func__ macro for Windows

This commit is contained in:
Ian Craggs 2026-02-12 14:31:03 +00:00
parent fd46e0b857
commit 913ee39d24
No known key found for this signature in database
GPG Key ID: A7AE1A8F2CCAB186
1 changed files with 4 additions and 0 deletions

View File

@ -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++; \